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

UDate U_EXPORT2 Calendar::getNow ( void   )  [static, inherited]

Returns the current UTC (GMT) time measured in milliseconds since 0:00:00 on 1/1/70 (derived from the system time).

Returns:
The current UTC time in milliseconds. ICU 2.0

Definition at line 967 of file calendar.cpp.

Referenced by CECalendar::CECalendar(), ChineseCalendar::ChineseCalendar(), Calendar::createInstance(), RelativeDateFormat::dayDifference(), TimeZone::getDisplayName(), GregorianCalendar::GregorianCalendar(), HebrewCalendar::HebrewCalendar(), IndianCalendar::IndianCalendar(), initializeSystemDefaultCentury(), PersianCalendar::initializeSystemDefaultCentury(), IslamicCalendar::initializeSystemDefaultCentury(), IndianCalendar::initializeSystemDefaultCentury(), HebrewCalendar::initializeSystemDefaultCentury(), GregorianCalendar::initializeSystemDefaultCentury(), EthiopicCalendar::initializeSystemDefaultCentury(), CopticCalendar::initializeSystemDefaultCentury(), ChineseCalendar::initializeSystemDefaultCentury(), BuddhistCalendar::initializeSystemDefaultCentury(), IslamicCalendar::IslamicCalendar(), JapaneseCalendar::JapaneseCalendar(), RelativeDateFormat::parse(), PersianCalendar::PersianCalendar(), DateFormatRegressionTest::Test4029195(), CalendarRegressionTest::test4083167(), DateFormatMiscTests::test4099975(), IntlTestDateTimePatternGeneratorAPI::testAPI(), DateFormatTest::TestDayOfYearPattern195(), IntlTestDateFormat::testFormat(), DateFormatTest::TestRunTogetherPattern985(), DateFormatTest::TestWallyWedel(), ucal_getDSTSavings(), and ucal_getNow().

{
    return uprv_getUTCtime(); // return as milliseconds
}


Generated by  Doxygen 1.6.0   Back to index