Modifier and Type | Method and Description |
---|---|
static Calendar |
createInstance()
Returns a calendar for the current locale and the current time zone.
|
static Calendar |
createInstance(Locale locale)
Deprecated.
This method ignores the calendar specification in the
ULocale . Please use
createInstance(ULocale) instead. |
static Calendar |
createInstance(TimeZone zone)
Returns a calendar for the current locale and the specified time zone.
|
static Calendar |
createInstance(TimeZone zone,
Locale locale)
Deprecated.
This method ignores the calendar specification in the
ULocale . Please use
createInstance(TimeZone, ULocale) instead. |
static Calendar |
createInstance(TimeZone zone,
com.ibm.icu.util.ULocale locale)
Returns a calendar for the specified locale and time zone.
|
static Calendar |
createInstance(com.ibm.icu.util.ULocale locale)
Returns a calendar for the specified locale and the current time zone.
|
public static Calendar createInstance()
Calendar
.public static Calendar createInstance(TimeZone zone)
Calendar
.@Deprecated public static Calendar createInstance(Locale locale)
ULocale
. Please use
createInstance(ULocale)
instead.Calendar
.public static Calendar createInstance(com.ibm.icu.util.ULocale locale)
Calendar
.@Deprecated public static Calendar createInstance(TimeZone zone, Locale locale)
ULocale
. Please use
createInstance(TimeZone, ULocale)
instead.Calendar
.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.