Uses of Class
org.joda.time.DateTimeZone

Packages that use DateTimeZone
org.joda.time Provides support for dates, times, time zones, durations, intervals, and partials. 
org.joda.time.base Implementation package providing abstract and base time classes. 
org.joda.time.chrono Package containing the chronology classes which define the calendar systems. 
org.joda.time.convert Implementation package providing conversion between date and time objects. 
org.joda.time.format Provides printing and parsing support for instants and durations. 
org.joda.time.tz Implementation package supporting the time zones. 
 

Uses of DateTimeZone in org.joda.time
 

Fields in org.joda.time declared as DateTimeZone
static DateTimeZone DateTimeZone.UTC
          The time zone for Universal Coordinated Time
 

Methods in org.joda.time that return DateTimeZone
 DateTimeZone ReadableInstant.getZone()
          Gets the time zone of the instant from the chronology.
static DateTimeZone DateTimeZone.getDefault()
          Gets the default time zone.
static DateTimeZone DateTimeZone.forID(String id)
          Gets a time zone instance for the specified time zone id.
static DateTimeZone DateTimeZone.forOffsetHours(int hoursOffset)
          Gets a time zone instance for the specified offset to UTC in hours.
static DateTimeZone DateTimeZone.forOffsetHoursMinutes(int hoursOffset, int minutesOffset)
          Gets a time zone instance for the specified offset to UTC in hours and minutes.
static DateTimeZone DateTimeZone.forOffsetMillis(int millisOffset)
          Gets a time zone instance for the specified offset to UTC in milliseconds.
static DateTimeZone DateTimeZone.forTimeZone(TimeZone zone)
          Gets a time zone instance for a JDK TimeZone.
static DateTimeZone DateTimeUtils.getZone(DateTimeZone zone)
          Gets the zone handling null.
abstract  DateTimeZone Chronology.getZone()
          Returns the DateTimeZone that this Chronology operates in, or null if unspecified.
 

Methods in org.joda.time with parameters of type DateTimeZone
 DateTime YearMonthDay.toDateTimeAtMidnight(DateTimeZone zone)
          Deprecated. Converts this YearMonthDay to a full datetime at midnight using the specified time zone.
 DateTime YearMonthDay.toDateTimeAtCurrentTime(DateTimeZone zone)
          Deprecated. Converts this partial to a full datetime using the specified time zone setting the date fields from this instance and the time fields from the current time.
 DateMidnight YearMonthDay.toDateMidnight(DateTimeZone zone)
          Deprecated. Converts this object to a DateMidnight.
 DateTime YearMonthDay.toDateTime(TimeOfDay time, DateTimeZone zone)
          Deprecated. Converts this object to a DateTime using a TimeOfDay to fill in the missing fields.
 Interval YearMonthDay.toInterval(DateTimeZone zone)
          Deprecated. Converts this object to an Interval representing the whole day.
 DateTime TimeOfDay.toDateTimeToday(DateTimeZone zone)
          Deprecated. Converts this partial to a full datetime using the specified time zone setting the time fields from this instance and the date fields from the current time.
 void ReadWritableInstant.setZone(DateTimeZone zone)
          Sets the time zone of the datetime, changing the chronology and field values.
 void ReadWritableInstant.setZoneRetainFields(DateTimeZone zone)
          Sets the time zone of the datetime, changing the chronology and millisecond.
 void MutableDateTime.setZone(DateTimeZone newZone)
          Sets the time zone of the datetime, changing the chronology and field values.
 void MutableDateTime.setZoneRetainFields(DateTimeZone newZone)
          Sets the time zone of the datetime, changing the chronology and millisecond.
 DateTime LocalTime.toDateTimeToday(DateTimeZone zone)
          Converts this LocalTime to a full datetime using the specified time zone setting the time fields from this instance and the date fields from the current time.
 DateTime LocalDateTime.toDateTime(DateTimeZone zone)
          Converts this object to a DateTime using the specified zone.
 DateTime LocalDate.toDateTimeAtStartOfDay(DateTimeZone zone)
          Converts this LocalDate to a full datetime at the earliest valid time for the date using the specified time zone.
 DateTime LocalDate.toDateTimeAtMidnight(DateTimeZone zone)
          Deprecated. Use LocalDate.toDateTimeAtStartOfDay(DateTimeZone) which won't throw an exception
 DateTime LocalDate.toDateTimeAtCurrentTime(DateTimeZone zone)
          Converts this LocalDate to a full datetime using the specified time zone setting the date fields from this instance and the time fields from the current time.
 DateMidnight LocalDate.toDateMidnight(DateTimeZone zone)
          Converts this LocalDate to a DateMidnight.
 DateTime LocalDate.toDateTime(LocalTime time, DateTimeZone zone)
          Converts this object to a DateTime using a LocalTime to fill in the missing fields.
 Interval LocalDate.toInterval(DateTimeZone zone)
          Converts this object to an Interval representing the whole day.
static void DateTimeZone.setDefault(DateTimeZone zone)
          Sets the default time zone.
 long DateTimeZone.getMillisKeepLocal(DateTimeZone newZone, long oldInstant)
          Gets the millisecond instant in another zone keeping the same local time.
static DateTimeZone DateTimeUtils.getZone(DateTimeZone zone)
          Gets the zone handling null.
 DateTime DateTime.toDateTime(DateTimeZone zone)
          Get this object as a DateTime, returning this if possible.
 DateTime DateTime.withZone(DateTimeZone newZone)
          Returns a copy of this datetime with a different time zone, preserving the millisecond instant.
 DateTime DateTime.withZoneRetainFields(DateTimeZone newZone)
          Returns a copy of this datetime with a different time zone, preserving the field values.
 DateMidnight DateMidnight.withZoneRetainFields(DateTimeZone newZone)
          Returns a copy of this date with a different time zone, preserving the day The returned object will have a local time of midnight in the new zone on the same day as the original instant.
static Chronology Chronology.getISO(DateTimeZone zone)
          Deprecated. Use ISOChronology.getInstance(zone)
static Chronology Chronology.getGJ(DateTimeZone zone)
          Deprecated. Use GJChronology.getInstance(zone)
static Chronology Chronology.getGregorian(DateTimeZone zone)
          Deprecated. Use GregorianChronology.getInstance(zone)
static Chronology Chronology.getJulian(DateTimeZone zone)
          Deprecated. Use JulianChronology.getInstance(zone)
static Chronology Chronology.getBuddhist(DateTimeZone zone)
          Deprecated. Use BuddhistChronology.getInstance(zone)
static Chronology Chronology.getCoptic(DateTimeZone zone)
          Deprecated. Use CopticChronology.getInstance(zone)
abstract  Chronology Chronology.withZone(DateTimeZone zone)
          Returns an instance of this Chronology that operates in any time zone.
 

Constructors in org.joda.time with parameters of type DateTimeZone
YearMonthDay(DateTimeZone zone)
          Deprecated. Constructs a YearMonthDay with the current date, using ISOChronology in the specified zone to extract the fields.
TimeOfDay(DateTimeZone zone)
          Deprecated. Constructs a TimeOfDay with the current time, using ISOChronology in the specified zone to extract the fields.
MutableDateTime(DateTimeZone zone)
          Constructs an instance set to the current system millisecond time using ISOChronology in the specified time zone.
MutableDateTime(long instant, DateTimeZone zone)
          Constructs an instance set to the milliseconds from 1970-01-01T00:00:00Z using ISOChronology in the specified time zone.
MutableDateTime(Object instant, DateTimeZone zone)
          Constructs an instance from an Object that represents a datetime, forcing the time zone to that specified.
MutableDateTime(int year, int monthOfYear, int dayOfMonth, int hourOfDay, int minuteOfHour, int secondOfMinute, int millisOfSecond, DateTimeZone zone)
          Constructs an instance from datetime field values using ISOChronology in the specified time zone.
LocalTime(DateTimeZone zone)
          Constructs an instance set to the current local time evaluated using ISO chronology in the specified zone.
LocalTime(long instant, DateTimeZone zone)
          Constructs an instance set to the local time defined by the specified instant evaluated using ISO chronology in the specified zone.
LocalTime(Object instant, DateTimeZone zone)
          Constructs an instance from an Object that represents a datetime, forcing the time zone to that specified.
LocalDateTime(DateTimeZone zone)
          Constructs an instance set to the current local time evaluated using ISO chronology in the specified zone.
LocalDateTime(long instant, DateTimeZone zone)
          Constructs an instance set to the local time defined by the specified instant evaluated using ISO chronology in the specified zone.
LocalDateTime(Object instant, DateTimeZone zone)
          Constructs an instance from an Object that represents a datetime, forcing the time zone to that specified.
LocalDate(DateTimeZone zone)
          Constructs an instance set to the current local time evaluated using ISO chronology in the specified zone.
LocalDate(long instant, DateTimeZone zone)
          Constructs an instance set to the local time defined by the specified instant evaluated using ISO chronology in the specified zone.
LocalDate(Object instant, DateTimeZone zone)
          Constructs an instance from an Object that represents a datetime, forcing the time zone to that specified.
Interval(long startInstant, long endInstant, DateTimeZone zone)
          Constructs an interval from a start and end instant with the ISO default chronology in the specified time zone.
DateTime(DateTimeZone zone)
          Constructs an instance set to the current system millisecond time using ISOChronology in the specified time zone.
DateTime(long instant, DateTimeZone zone)
          Constructs an instance set to the milliseconds from 1970-01-01T00:00:00Z using ISOChronology in the specified time zone.
DateTime(Object instant, DateTimeZone zone)
          Constructs an instance from an Object that represents a datetime, forcing the time zone to that specified.
DateTime(int year, int monthOfYear, int dayOfMonth, int hourOfDay, int minuteOfHour, int secondOfMinute, int millisOfSecond, DateTimeZone zone)
          Constructs an instance from datetime field values using ISOChronology in the specified time zone.
DateMidnight(DateTimeZone zone)
          Constructs an instance set to the current system millisecond time using ISOChronology in the specified time zone.
DateMidnight(long instant, DateTimeZone zone)
          Constructs an instance set to the milliseconds from 1970-01-01T00:00:00Z using ISOChronology in the specified time zone.
DateMidnight(Object instant, DateTimeZone zone)
          Constructs an instance from an Object that represents a datetime, forcing the time zone to that specified.
DateMidnight(int year, int monthOfYear, int dayOfMonth, DateTimeZone zone)
          Constructs an instance from datetime field values using ISOChronology in the specified time zone.
 

Uses of DateTimeZone in org.joda.time.base
 

Methods in org.joda.time.base that return DateTimeZone
 DateTimeZone AbstractInstant.getZone()
          Gets the time zone of the instant from the chronology.
 

Methods in org.joda.time.base with parameters of type DateTimeZone
 DateTime AbstractInstant.toDateTime(DateTimeZone zone)
          Get this object as a DateTime using the same chronology but a different zone.
 MutableDateTime AbstractInstant.toMutableDateTime(DateTimeZone zone)
          Get this object as a MutableDateTime using the same chronology but a different zone.
 

Constructors in org.joda.time.base with parameters of type DateTimeZone
BaseDateTime(DateTimeZone zone)
          Constructs an instance set to the current system millisecond time using ISOChronology in the specified time zone.
BaseDateTime(long instant, DateTimeZone zone)
          Constructs an instance set to the milliseconds from 1970-01-01T00:00:00Z using ISOChronology in the specified time zone.
BaseDateTime(Object instant, DateTimeZone zone)
          Constructs an instance from an Object that represents a datetime, forcing the time zone to that specified.
BaseDateTime(int year, int monthOfYear, int dayOfMonth, int hourOfDay, int minuteOfHour, int secondOfMinute, int millisOfSecond, DateTimeZone zone)
          Constructs an instance from datetime field values using ISOChronology in the specified time zone.
 

Uses of DateTimeZone in org.joda.time.chrono
 

Methods in org.joda.time.chrono that return DateTimeZone
 DateTimeZone ZonedChronology.getZone()
           
 DateTimeZone GJChronology.getZone()
           
abstract  DateTimeZone BaseChronology.getZone()
          Returns the DateTimeZone that this Chronology operates in, or null if unspecified.
 DateTimeZone AssembledChronology.getZone()
           
 

Methods in org.joda.time.chrono with parameters of type DateTimeZone
static ZonedChronology ZonedChronology.getInstance(Chronology base, DateTimeZone zone)
          Create a ZonedChronology for any chronology, overriding any time zone it may already have.
 Chronology ZonedChronology.withZone(DateTimeZone zone)
           
 Chronology StrictChronology.withZone(DateTimeZone zone)
           
 Chronology LimitChronology.withZone(DateTimeZone zone)
          If this LimitChronology has the same time zone as the one given, then this is returned.
 Chronology LenientChronology.withZone(DateTimeZone zone)
           
static JulianChronology JulianChronology.getInstance(DateTimeZone zone)
          Gets an instance of the JulianChronology in the given time zone.
static JulianChronology JulianChronology.getInstance(DateTimeZone zone, int minDaysInFirstWeek)
          Gets an instance of the JulianChronology in the given time zone.
 Chronology JulianChronology.withZone(DateTimeZone zone)
          Gets the Chronology in a specific time zone.
static ISOChronology ISOChronology.getInstance(DateTimeZone zone)
          Gets an instance of the ISOChronology in the given time zone.
 Chronology ISOChronology.withZone(DateTimeZone zone)
          Gets the Chronology in a specific time zone.
static IslamicChronology IslamicChronology.getInstance(DateTimeZone zone)
          Gets an instance of the IslamicChronology in the given time zone.
static IslamicChronology IslamicChronology.getInstance(DateTimeZone zone, IslamicChronology.LeapYearPatternType leapYears)
          Gets an instance of the IslamicChronology in the given time zone.
 Chronology IslamicChronology.withZone(DateTimeZone zone)
          Gets the Chronology in a specific time zone.
static GregorianChronology GregorianChronology.getInstance(DateTimeZone zone)
          Gets an instance of the GregorianChronology in the given time zone.
static GregorianChronology GregorianChronology.getInstance(DateTimeZone zone, int minDaysInFirstWeek)
          Gets an instance of the GregorianChronology in the given time zone.
 Chronology GregorianChronology.withZone(DateTimeZone zone)
          Gets the Chronology in a specific time zone.
static GJChronology GJChronology.getInstance(DateTimeZone zone)
          Factory method returns instances of the GJ cutover chronology.
static GJChronology GJChronology.getInstance(DateTimeZone zone, ReadableInstant gregorianCutover)
          Factory method returns instances of the GJ cutover chronology.
static GJChronology GJChronology.getInstance(DateTimeZone zone, ReadableInstant gregorianCutover, int minDaysInFirstWeek)
          Factory method returns instances of the GJ cutover chronology.
static GJChronology GJChronology.getInstance(DateTimeZone zone, long gregorianCutover, int minDaysInFirstWeek)
          Factory method returns instances of the GJ cutover chronology.
 Chronology GJChronology.withZone(DateTimeZone zone)
          Gets the Chronology in a specific time zone.
static EthiopicChronology EthiopicChronology.getInstance(DateTimeZone zone)
          Gets an instance of the EthiopicChronology in the given time zone.
static EthiopicChronology EthiopicChronology.getInstance(DateTimeZone zone, int minDaysInFirstWeek)
          Gets an instance of the EthiopicChronology in the given time zone.
 Chronology EthiopicChronology.withZone(DateTimeZone zone)
          Gets the Chronology in a specific time zone.
static CopticChronology CopticChronology.getInstance(DateTimeZone zone)
          Gets an instance of the CopticChronology in the given time zone.
static CopticChronology CopticChronology.getInstance(DateTimeZone zone, int minDaysInFirstWeek)
          Gets an instance of the CopticChronology in the given time zone.
 Chronology CopticChronology.withZone(DateTimeZone zone)
          Gets the Chronology in a specific time zone.
static BuddhistChronology BuddhistChronology.getInstance(DateTimeZone zone)
          Standard instance of a Buddhist Chronology, that matches Sun's BuddhistCalendar class.
 Chronology BuddhistChronology.withZone(DateTimeZone zone)
          Gets the Chronology in a specific time zone.
abstract  Chronology BaseChronology.withZone(DateTimeZone zone)
          Returns an instance of this Chronology that operates in any time zone.
 

Uses of DateTimeZone in org.joda.time.convert
 

Methods in org.joda.time.convert with parameters of type DateTimeZone
 Chronology PartialConverter.getChronology(Object object, DateTimeZone zone)
          Extracts the chronology from an object of this converter's type where the time zone is specified.
 Chronology InstantConverter.getChronology(Object object, DateTimeZone zone)
          Extracts the chronology from an object of this converter's type where the time zone is specified.
 Chronology AbstractConverter.getChronology(Object object, DateTimeZone zone)
          Extracts the chronology from an object of this convertor's type where the time zone is specified.
 

Uses of DateTimeZone in org.joda.time.format
 

Methods in org.joda.time.format that return DateTimeZone
 DateTimeZone DateTimeParserBucket.getZone()
          Returns the time zone used by computeMillis, or null if an offset is used instead.
 DateTimeZone DateTimeFormatter.getZone()
          Gets the zone to use as an override.
 

Methods in org.joda.time.format with parameters of type DateTimeZone
 void DateTimePrinter.printTo(StringBuffer buf, long instant, Chronology chrono, int displayOffset, DateTimeZone displayZone, Locale locale)
          Prints an instant from milliseconds since 1970-01-01T00:00:00Z, using the given Chronology.
 void DateTimePrinter.printTo(Writer out, long instant, Chronology chrono, int displayOffset, DateTimeZone displayZone, Locale locale)
          Prints an instant from milliseconds since 1970-01-01T00:00:00Z, using the given Chronology.
 void DateTimeParserBucket.setZone(DateTimeZone zone)
          Set a time zone to be used when computeMillis is called, which overrides any set time zone offset.
 DateTimeFormatter DateTimeFormatter.withZone(DateTimeZone zone)
          Returns a new formatter that will use the specified zone in preference to the zone of the printed object, or default zone on a parse.
 

Uses of DateTimeZone in org.joda.time.tz
 

Subclasses of DateTimeZone in org.joda.time.tz
 class CachedDateTimeZone
          Improves the performance of requesting time zone offsets and name keys by caching the results.
 class FixedDateTimeZone
          Basic DateTimeZone implementation that has a fixed name key and offsets.
 

Methods in org.joda.time.tz that return DateTimeZone
 DateTimeZone ZoneInfoProvider.getZone(String id)
          If an error is thrown while loading zone data, uncaughtException is called to log the error and null is returned for this and all future requests.
 DateTimeZone UTCProvider.getZone(String id)
          Returns UTC for "UTC", null otherwise.
 DateTimeZone Provider.getZone(String id)
          Retrieves a DateTimeZone for the given id.
static DateTimeZone DateTimeZoneBuilder.readFrom(InputStream in, String id)
          Decodes a built DateTimeZone from the given stream, as encoded by writeTo.
static DateTimeZone DateTimeZoneBuilder.readFrom(DataInput in, String id)
          Decodes a built DateTimeZone from the given stream, as encoded by writeTo.
 DateTimeZone DateTimeZoneBuilder.toDateTimeZone(String id, boolean outputID)
          Processes all the rules and builds a DateTimeZone.
 DateTimeZone CachedDateTimeZone.getUncachedZone()
          Returns the DateTimeZone being wrapped.
 

Methods in org.joda.time.tz with parameters of type DateTimeZone
static CachedDateTimeZone CachedDateTimeZone.forZone(DateTimeZone zone)
          Returns a new CachedDateTimeZone unless given zone is already cached.
 



Copyright © 2002-2008 Joda.org. All Rights Reserved.