|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TimeZone | |
---|---|
com.ibm.icu.text | Extensions and enhancements to java.text to support unicode transforms, UnicodeSet, surrogate char utilities, UCA collation, normalization, break iteration (rule and dictionary based), enhanced number format, international string searching, and arabic shaping. |
com.ibm.icu.util | International calendars and other utility classes. |
Uses of TimeZone in com.ibm.icu.text |
---|
Methods in com.ibm.icu.text that return TimeZone | |
---|---|
TimeZone |
DateFormat.getTimeZone()
Gets the time zone. |
Methods in com.ibm.icu.text with parameters of type TimeZone | |
---|---|
void |
DateFormat.setTimeZone(TimeZone zone)
Sets the time zone for the calendar of this DateFormat object. |
Uses of TimeZone in com.ibm.icu.util |
---|
Subclasses of TimeZone in com.ibm.icu.util | |
---|---|
class |
BasicTimeZone
BasicTimeZone is an abstract class extending TimeZone . |
class |
RuleBasedTimeZone
RuleBasedTimeZone is a concrete subclass of TimeZone that allows users to define
custom historic time transition rules. |
class |
SimpleTimeZone
SimpleTimeZone is a concrete subclass of TimeZone
that represents a time zone for use with a Gregorian calendar. |
class |
VTimeZone
VTimeZone is a class implementing RFC2445 VTIMEZONE. |
Methods in com.ibm.icu.util that return TimeZone | |
---|---|
static TimeZone |
TimeZone.getDefault()
Gets the default TimeZone for this host. |
TimeZone |
GlobalizationPreferences.getTimeZone()
Get the timezone. |
TimeZone |
Calendar.getTimeZone()
Gets the time zone. |
static TimeZone |
TimeZone.getTimeZone(String ID)
Gets the TimeZone for the given ID. |
static TimeZone |
TimeZone.getTimeZone(String ID,
int type)
Gets the TimeZone for the given ID and the timezone type. |
protected TimeZone |
GlobalizationPreferences.guessTimeZone()
This function can be overridden by subclasses to use different heuristics. |
Methods in com.ibm.icu.util with parameters of type TimeZone | |
---|---|
static Calendar |
Calendar.getInstance(TimeZone zone)
Gets a calendar using the specified time zone and default locale. |
static Calendar |
Calendar.getInstance(TimeZone zone,
Locale aLocale)
Gets a calendar with the specified time zone and locale. |
static Calendar |
Calendar.getInstance(TimeZone zone,
ULocale locale)
Gets a calendar with the specified time zone and locale. |
boolean |
VTimeZone.hasEquivalentTransitions(TimeZone other,
long start,
long end)
Checks if the time zone has equivalent transitions in the time range. |
boolean |
BasicTimeZone.hasEquivalentTransitions(TimeZone tz,
long start,
long end)
Checks if the time zone has equivalent transitions in the time range. |
boolean |
BasicTimeZone.hasEquivalentTransitions(TimeZone tz,
long start,
long end,
boolean ignoreDstAmount)
Checks if the time zone has equivalent transitions in the time range. |
boolean |
VTimeZone.hasSameRules(TimeZone other)
Returns true if this zone has the same rule and offset as another zone. |
boolean |
TimeZone.hasSameRules(TimeZone other)
Returns true if this zone has the same rule and offset as another zone. |
boolean |
SimpleTimeZone.hasSameRules(TimeZone othr)
Return true if this zone has the same rules and offset as another zone. |
boolean |
RuleBasedTimeZone.hasSameRules(TimeZone other)
Returns true if this zone has the same rule and offset as another zone. |
static void |
TimeZone.setDefault(TimeZone tz)
Sets the TimeZone that is
returned by the getDefault method. |
GlobalizationPreferences |
GlobalizationPreferences.setTimeZone(TimeZone timezone)
Sets the timezone ID. |
void |
Calendar.setTimeZone(TimeZone value)
Sets the time zone with the given time zone value. |
Constructors in com.ibm.icu.util with parameters of type TimeZone | |
---|---|
BuddhistCalendar(TimeZone zone)
Constructs a BuddhistCalendar based on the current time
in the given time zone with the default locale. |
|
BuddhistCalendar(TimeZone zone,
Locale aLocale)
Constructs a BuddhistCalendar based on the current time
in the given time zone with the given locale. |
|
BuddhistCalendar(TimeZone zone,
ULocale locale)
Constructs a BuddhistCalendar based on the current time
in the given time zone with the given locale. |
|
Calendar(TimeZone zone,
Locale aLocale)
Constructs a calendar with the specified time zone and locale. |
|
Calendar(TimeZone zone,
ULocale locale)
Constructs a calendar with the specified time zone and locale. |
|
ChineseCalendar(TimeZone zone)
Construct a ChineseCalendar based on the current time
in the given time zone with the default locale. |
|
ChineseCalendar(TimeZone zone,
Locale aLocale)
Construct a ChineseCalendar based on the current time
in the given time zone with the given locale. |
|
ChineseCalendar(TimeZone zone,
ULocale locale)
Construct a ChineseCalendar based on the current time
with the given time zone with the given locale. |
|
CopticCalendar(TimeZone zone)
Constructs a CopticCalendar based on the current time
in the given time zone with the default locale. |
|
CopticCalendar(TimeZone zone,
Locale aLocale)
Constructs a CopticCalendar based on the current time
in the given time zone with the given locale. |
|
CopticCalendar(TimeZone zone,
ULocale locale)
Constructs a CopticCalendar based on the current time
in the given time zone with the given locale. |
|
EthiopicCalendar(TimeZone zone)
Constructs a EthiopicCalendar based on the current time
in the given time zone with the default locale. |
|
EthiopicCalendar(TimeZone zone,
Locale aLocale)
Constructs a EthiopicCalendar based on the current time
in the given time zone with the given locale. |
|
EthiopicCalendar(TimeZone zone,
ULocale locale)
Constructs a EthiopicCalendar based on the current time
in the given time zone with the given locale. |
|
GregorianCalendar(TimeZone zone)
Constructs a GregorianCalendar based on the current time in the given time zone with the default locale. |
|
GregorianCalendar(TimeZone zone,
Locale aLocale)
Constructs a GregorianCalendar based on the current time in the given time zone with the given locale. |
|
GregorianCalendar(TimeZone zone,
ULocale locale)
Constructs a GregorianCalendar based on the current time in the given time zone with the given locale. |
|
HebrewCalendar(TimeZone zone)
Constructs a HebrewCalendar based on the current time
in the given time zone with the default locale. |
|
HebrewCalendar(TimeZone zone,
Locale aLocale)
Constructs a HebrewCalendar based on the current time
in the given time zone with the given locale. |
|
HebrewCalendar(TimeZone zone,
ULocale locale)
Constructs a HebrewCalendar based on the current time
in the given time zone with the given locale. |
|
IndianCalendar(TimeZone zone)
Constructs a IndianCalendar based on the current time
in the given time zone with the default locale. |
|
IndianCalendar(TimeZone zone,
Locale aLocale)
Constructs a IndianCalendar based on the current time
in the given time zone with the given locale. |
|
IndianCalendar(TimeZone zone,
ULocale locale)
Constructs a IndianCalendar based on the current time
in the given time zone with the given locale. |
|
IslamicCalendar(TimeZone zone)
Constructs an IslamicCalendar based on the current time
in the given time zone with the default locale. |
|
IslamicCalendar(TimeZone zone,
Locale aLocale)
Constructs an IslamicCalendar based on the current time
in the given time zone with the given locale. |
|
IslamicCalendar(TimeZone zone,
ULocale locale)
Constructs an IslamicCalendar based on the current time
in the given time zone with the given locale. |
|
JapaneseCalendar(TimeZone zone)
Constructs a JapaneseCalendar based on the current time
in the given time zone with the default locale. |
|
JapaneseCalendar(TimeZone zone,
Locale aLocale)
Constructs a JapaneseCalendar based on the current time
in the given time zone with the given locale. |
|
JapaneseCalendar(TimeZone zone,
ULocale locale)
Constructs a JapaneseCalendar based on the current time
in the given time zone with the given locale. |
|
TaiwanCalendar(TimeZone zone)
Constructs a TaiwanCalendar based on the current time
in the given time zone with the default locale. |
|
TaiwanCalendar(TimeZone zone,
Locale aLocale)
Constructs a TaiwanCalendar based on the current time
in the given time zone with the given locale. |
|
TaiwanCalendar(TimeZone zone,
ULocale locale)
Constructs a TaiwanCalendar based on the current time
in the given time zone with the given locale. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |