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

U_CDECL_END U_NAMESPACE_BEGIN HebrewCalendar::HebrewCalendar ( const Locale aLocale,
UErrorCode success 
)

Constructs a HebrewCalendar based on the current time in the default time zone with the given locale.

Parameters:
aLocale The given locale.
success Indicates the status of HebrewCalendar object construction. Returns U_ZERO_ERROR if constructed successfully.

For internal use only.

Constructs a default HebrewCalendar using the current time in the default time zone with the default locale.

Definition at line 154 of file hebrwcal.cpp.

References Calendar::getNow(), and Calendar::setTimeInMillis().

Referenced by clone().

:   Calendar(TimeZone::createDefault(), aLocale, success)

{
    setTimeInMillis(getNow(), success); // Call this again now that the vtable is set up properly.
}


Generated by  Doxygen 1.6.0   Back to index