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

U_STABLE UBool U_EXPORT2 ucal_inDaylightTime ( const UCalendar cal,
UErrorCode status 

Determine if a UCalendar is currently in daylight savings time. Daylight savings time is not used in all parts of the world.

calThe UCalendar to query.
statusA pointer to an UErrorCode to receive any errors
TRUE if cal is currently in daylight savings time, FALSE otherwise ICU 2.0

Definition at line 230 of file ucal.cpp.

References U_FAILURE.


    if(U_FAILURE(*status)) return (UBool) -1;
    return ((Calendar*)cal)->inDaylightTime(*status);

Generated by  Doxygen 1.6.0   Back to index