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.

cal1 The first of the UCalendars to compare.
cal2 The second of the UCalendars to compare.
TRUE if cal1 and cal2 are equivalent, FALSE otherwise. ICU 2.0

Definition at line 374 of file ucal.cpp.


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

Generated by  Doxygen 1.6.0   Back to index