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

int32_t Calendar::internalGet ( EDateFields  field  )  const [inline, protected, inherited]

Gets the value for a given time field. Subclasses can use this function to get field values without forcing recomputation of time.

Parameters:
field The given time field.
Returns:
The value for the given time field.
Deprecated:
ICU 2.6. Use internalGet(UCalendarDateFields field) instead.

Definition at line 1301 of file calendar.h.

Referenced by Calendar::add(), Calendar::computeJulianDay(), Calendar::computeMillisInDay(), Calendar::computeTime(), GregorianCalendar::getEpochDay(), Calendar::getLocalDOW(), handleComputeFields(), JapaneseCalendar::handleComputeFields(), BuddhistCalendar::handleComputeFields(), GregorianCalendar::handleComputeJulianDay(), Calendar::handleComputeJulianDay(), ChineseCalendar::handleComputeMonthStart(), handleGetExtendedYear(), PersianCalendar::handleGetExtendedYear(), JapaneseCalendar::handleGetExtendedYear(), IslamicCalendar::handleGetExtendedYear(), IndianCalendar::handleGetExtendedYear(), HebrewCalendar::handleGetExtendedYear(), GregorianCalendar::handleGetExtendedYear(), EthiopicCalendar::handleGetExtendedYear(), CopticCalendar::handleGetExtendedYear(), ChineseCalendar::handleGetExtendedYear(), BuddhistCalendar::handleGetExtendedYear(), GregorianCalendar::handleGetExtendedYearFromWeekFields(), Calendar::handleGetExtendedYearFromWeekFields(), PersianCalendar::inDaylightTime(), IslamicCalendar::inDaylightTime(), IndianCalendar::inDaylightTime(), HebrewCalendar::inDaylightTime(), GregorianCalendar::inDaylightTime(), ChineseCalendar::inDaylightTime(), CECalendar::inDaylightTime(), JapaneseCalendar::internalGetEra(), GregorianCalendar::internalGetEra(), GregorianCalendar::monthLength(), GregorianCalendar::pinDayOfMonth(), GregorianCalendar::roll(), Calendar::roll(), Calendar::validateField(), GregorianCalendar::validateFields(), and GregorianCalendar::yearLength().

{return fFields[field];}


Generated by  Doxygen 1.6.0   Back to index