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

const TimeZone & Calendar::getTimeZone ( void   )  const [inherited]

Returns a reference to the time zone owned by this calendar. The returned reference is only valid until clients make another call to adoptTimeZone or setTimeZone, or this Calendar is destroyed.

Returns:
The time zone object associated with this calendar. ICU 2.0

Definition at line 2011 of file calendar.cpp.

References Calendar::fZone.

Referenced by Calendar::computeFields(), Calendar::computeZoneOffset(), SimpleDateFormat::format(), DateFormat::getTimeZone(), PersianCalendar::inDaylightTime(), IslamicCalendar::inDaylightTime(), IndianCalendar::inDaylightTime(), HebrewCalendar::inDaylightTime(), GregorianCalendar::inDaylightTime(), ChineseCalendar::inDaylightTime(), CECalendar::inDaylightTime(), SimpleDateFormat::parse(), DateFormat::parse(), GregorianCalendar::setGregorianChange(), and SimpleDateFormat::subParse().

{
    return *fZone;
}


Generated by  Doxygen 1.6.0   Back to index