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

UDate Calendar::getTime ( UErrorCode status  )  const [inline, inherited]

Gets this Calendar's time as milliseconds. May involve recalculation of time due to previous calls to set time field values. The time specified is non-local UTC (GMT) time. Although this method is const, this object may actually be changed (semantically const).

Parameters:
status Output param set to success/failure code on exit. If any value previously set in the time field is invalid or restricted by leniency, this will be set to an error status.
Returns:
The current time in UTC (GMT) time, or zero if the operation failed. ICU 2.0

Definition at line 410 of file calendar.h.

Referenced by SimpleDateFormat::_format(), Calendar::equals(), GregorianCalendar::getActualMaximum(), CalendarRegressionTest::getAssociatedDate(), TimeZone::getDisplayName(), initializeSystemDefaultCentury(), PersianCalendar::initializeSystemDefaultCentury(), IslamicCalendar::initializeSystemDefaultCentury(), IndianCalendar::initializeSystemDefaultCentury(), HebrewCalendar::initializeSystemDefaultCentury(), GregorianCalendar::initializeSystemDefaultCentury(), EthiopicCalendar::initializeSystemDefaultCentury(), CopticCalendar::initializeSystemDefaultCentury(), ChineseCalendar::initializeSystemDefaultCentury(), BuddhistCalendar::initializeSystemDefaultCentury(), SimpleDateFormat::parse(), DateFormat::parse(), CalendarRegressionTest::test4051765(), CalendarRegressionTest::test4059654(), CalendarRegressionTest::test4071385(), TimeZoneRegressionTest::Test4073215(), CalendarRegressionTest::test4073929(), CalendarRegressionTest::test4086724(), CalendarRegressionTest::test4092362(), CalendarRegressionTest::test4096231(), CalendarRegressionTest::test4103271(), CalendarRegressionTest::test4108764(), TimeZoneRegressionTest::Test4109314(), CalendarRegressionTest::test4114578(), CalendarRegressionTest::test4125881(), CalendarRegressionTest::test4147269(), CalendarRegressionTest::Test4162587(), CalendarRegressionTest::Test4165343(), CalendarRegressionTest::Test4166109(), CalendarRegressionTest::Test4167060(), TimeZoneRegressionTest::Test4176686(), CalendarRegressionTest::Test4197699(), DateFormatRegressionTest::Test4210209(), TimeZoneBoundaryTest::TestBoundaries(), DateFormatTest::TestDateFormatCalendar(), DateFormatTest::TestDateFormatZone146(), CalendarRegressionTest::TestJ438(), CalendarRegressionTest::TestJ81(), CalendarRegressionTest::TestLeapFieldDifference(), TimeZoneTest::TestRuleAPI(), TimeZoneTest::TestShortZoneIDs(), CalendarRegressionTest::TestTimeZoneTransitionAdd(), CalendarRegressionTest::TestWeekShift(), and TimeZoneBoundaryTest::verifyMapping().

{ return getTimeInMillis(status); }


Generated by  Doxygen 1.6.0   Back to index