Logo Search packages:      
Sourcecode: icu version File versions  Download package

U_STABLE UBool U_EXPORT2 ucal_equivalentTo ( const UCalendar cal1,
const UCalendar cal2 
)

Returns TRUE if two UCalendars are equivalent. Equivalent UCalendars will behave identically, but they may be set to different times.

Parameters:
cal1The first of the UCalendars to compare.
cal2The second of the UCalendars to compare.
Returns:
TRUE if cal1 and cal2 are equivalent, FALSE otherwise. ICU 2.0

Definition at line 371 of file ucal.cpp.

{

    return ((Calendar*)cal1)->isEquivalentTo(*((Calendar*)cal2));
}

Generated by  Doxygen 1.6.0   Back to index