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

Calendar *U_EXPORT2 Calendar::createInstance ( const Locale aLocale,
UErrorCode success 
) [static, inherited]

Creates a Calendar using the default timezone and the given locale.

Parameters:
aLocale The given locale.
success Indicates the success/failure of Calendar creation. Filled in with U_ZERO_ERROR if created successfully, set to a failure result otherwise.
Returns:
A Calendar if created successfully. NULL otherwise. ICU 2.0

Definition at line 770 of file calendar.cpp.

References TimeZone::createDefault(), and Calendar::createInstance().

{
    return createInstance(TimeZone::createDefault(), aLocale, success);
}


Generated by  Doxygen 1.6.0   Back to index