Calendar.getInstance

Calendar.getInstance

Class Overview | Class Members | This Package | All Packages

Syntax 1
public static synchronized Calendar getInstance()
Returns
a Calendar.
Description
Gets a Calendar using the default timezone and locale.



Syntax 2
public static synchronized Calendar getInstance( TimeZone zone )
Parameters
zone
the given timezone.
Returns
a Calendar.
Description
Gets a Calendar using the given timezone and default locale.



Syntax 3
public static synchronized Calendar getInstance( Locale aLocale )
Parameters
aLocale
the given locale.
Returns
a Calendar.
Description
Gets a Calendar using the default timezone and given locale.



Syntax 4
public static synchronized Calendar getInstance( TimeZone zone, Locale aLocale )
Parameters
zone
the given timezone.
aLocale
the given locale.
Returns
a Calendar.
Description
Gets a Calendar using the given timezone and given locale.