Joda Time API

Uses of Class
org.joda.time.DateTimeZone

Packages that use DateTimeZone
org.joda.time DateTime object creation and manipulation. 
org.joda.time.chrono Basic chronology support for DateTime objects. 
org.joda.time.chrono.buddhist Buddhist Chronology 
org.joda.time.chrono.gj Gregorian/Julian Chronology. 
org.joda.time.chrono.iso ISO Chronology 
org.joda.time.format Printing and parsing of DateTime objects. 
org.joda.time.tz Time zone implementation 
 

Uses of DateTimeZone in org.joda.time
 

Fields in org.joda.time declared as DateTimeZone
static DateTimeZone DateTimeZone.UTC
          The UTC time zone
 

Methods in org.joda.time that return DateTimeZone
abstract  DateTimeZone Chronology.getDateTimeZone()
          Returns the DateTimeZone that this Chronology operates in, or null if unspecified.
static DateTimeZone DateTimeZone.getDefault()
          Gets the default time zone.
static DateTimeZone DateTimeZone.getInstance(java.lang.String id)
          Get the time zone by id.
static DateTimeZone DateTimeZone.getInstance(java.util.TimeZone zone)
          Get the time zone by Java TimeZone.
 DateTimeZone ReadableInstant.getDateTimeZone()
          Gets the time zone of the instant, null if not applicable.
 DateTimeZone AbstractInstant.getDateTimeZone()
          Gets the time zone of the datetime from the chronology.
 

Methods in org.joda.time with parameters of type DateTimeZone
 void MutableDateTime.setDateTimeZone(DateTimeZone zone)
          Sets the time zone of the datetime via the chronology.
 DateTime ReadableDateTime.toDateTime(DateTimeZone zone)
          Get this object as a DateTime.
 MutableDateTime ReadableDateTime.toMutableDateTime(DateTimeZone zone)
          Get this object as a MutableDateTime.
 DateTime AbstractDateTime.toDateTime(DateTimeZone zone)
          Get this object as a DateTime.
 DateTime AbstractDateTime.toISODateTime(DateTimeZone zone)
          Get this object as a trusted ISO DateTime.
 MutableDateTime AbstractDateTime.toMutableDateTime(DateTimeZone zone)
          Get this object as a MutableDateTime.
 MutableDateTime AbstractDateTime.toISOMutableDateTime(DateTimeZone zone)
          Get this object as a trusted ISO MutableDateTime.
abstract  Chronology Chronology.withDateTimeZone(DateTimeZone zone)
          Returns an instance of this Chronology that operates in any time zone.
static void DateTimeZone.setDefault(DateTimeZone zone)
          Sets the default time zone.
 

Constructors in org.joda.time with parameters of type DateTimeZone
MutableDateTime(DateTimeZone zone)
          Constructs a MutableDateTime to the current datetime, as reported by the system clock.
MutableDateTime(long millis, DateTimeZone zone)
          Constructs a MutableDateTime set to the milliseconds from 1970-01-01T00:00:00Z, using the ISO chronology, in the supplied time zone.
MutableDateTime(ReadableInstant instant, DateTimeZone zone)
          Constructs a MutableDateTime from a ReadableInstant, using its chronology against a different time zone.
MutableDateTime(java.util.Date date, DateTimeZone zone)
          Constructs a MutableDateTime from a Date, using the ISO chronology, in the supplied time zone.
MutableDateTime(java.util.Calendar calendar, DateTimeZone zone)
          Constructs a MutableDateTime from a Calendar, using its closest mapped chronology against a different time zone.
MutableDateTime(java.lang.String str, DateTimeZone zone)
          Constructs a MutableDateTime from an ISO formatted String, using the ISO chronology, in the supplied time zone.
DateTime(DateTimeZone zone)
          Constructs a DateTime to the current datetime, as reported by the system clock.
DateTime(long millis, DateTimeZone zone)
          Constructs a DateTime set to the milliseconds from 1970-01-01T00:00:00Z, using the ISO chronology, in the supplied time zone.
DateTime(ReadableInstant instant, DateTimeZone zone)
          Constructs a DateTime from a ReadableInstant, using its chronology against a different time zone.
DateTime(java.util.Date date, DateTimeZone zone)
          Constructs a DateTime from a Date, using the ISO chronology, in the supplied time zone.
DateTime(java.util.Calendar calendar, DateTimeZone zone)
          Constructs a DateTime from a Calendar, using its closest mapped chronology against a different time zone.
DateTime(java.lang.String str, DateTimeZone zone)
          Constructs a DateTime from an ISO formatted String, using the ISO chronology, in the supplied time zone.
 

Uses of DateTimeZone in org.joda.time.chrono
 

Methods in org.joda.time.chrono that return DateTimeZone
 DateTimeZone ZonedChronology.getDateTimeZone()
           
 DateTimeZone DelegateChronology.getDateTimeZone()
          Gets the time zone that this chronolog is using.
 

Methods in org.joda.time.chrono with parameters of type DateTimeZone
 Chronology ZonedChronology.withDateTimeZone(DateTimeZone zone)
           
abstract  Chronology DelegateChronology.withDateTimeZone(DateTimeZone zone)
          Get the Chronology in the any time zone.
 

Constructors in org.joda.time.chrono with parameters of type DateTimeZone
ZonedChronology(Chronology chrono, DateTimeZone zone)
          Create a ZonedChronology for any chronology, overriding any time zone it may already have.
 

Uses of DateTimeZone in org.joda.time.chrono.buddhist
 

Methods in org.joda.time.chrono.buddhist with parameters of type DateTimeZone
static BuddhistChronology BuddhistChronology.getInstance(DateTimeZone zone)
          Standard instance of a Buddhist Chronology, that matches Sun's BuddhistCalendar class.
 Chronology BuddhistChronology.withDateTimeZone(DateTimeZone zone)
          Gets the Chronology in a specific time zone.
 

Uses of DateTimeZone in org.joda.time.chrono.gj
 

Methods in org.joda.time.chrono.gj that return DateTimeZone
 DateTimeZone GJChronology.getDateTimeZone()
           
 

Methods in org.joda.time.chrono.gj with parameters of type DateTimeZone
static GJChronology GJChronology.getInstance(DateTimeZone zone)
          Factory method returns instances of the default GJ chronology.
static GJChronology GJChronology.getInstance(DateTimeZone zone, ReadableInstant gregorianCutover, boolean centuryISO)
          Factory method allowing the Gregorian cutover point and year zero handling to be set.
static GJChronology GJChronology.getInstance(DateTimeZone zone, long gregorianCutover, boolean centuryISO)
          Factory method allowing the Gregorian cutover point and year zero handling to be set.
static GJChronology GJChronology.getInstance(DateTimeZone zone, ReadableInstant gregorianCutover, boolean centuryISO, int minDaysInFirstWeek)
          Factory method allowing the Gregorian cutover point and year zero handling to be set.
static GJChronology GJChronology.getInstance(DateTimeZone zone, long gregorianCutover, boolean centuryISO, int minDaysInFirstWeek)
          Factory method allowing the Gregorian cutover point and year zero handling to be set.
 Chronology GJChronology.withDateTimeZone(DateTimeZone zone)
           
 

Uses of DateTimeZone in org.joda.time.chrono.iso
 

Methods in org.joda.time.chrono.iso with parameters of type DateTimeZone
static ISOChronology ISOChronology.getInstance(DateTimeZone zone)
          Gets an instance of the ISOChronology in the given time zone.
 Chronology ISOChronology.withDateTimeZone(DateTimeZone zone)
          Gets the Chronology in a specific time zone.
 

Uses of DateTimeZone in org.joda.time.format
 

Methods in org.joda.time.format that return DateTimeZone
 DateTimeZone DateTimeParserBucket.getDateTimeZone()
          Returns the time zone used by computeMillis, or null if an offset is used instead.
 

Methods in org.joda.time.format with parameters of type DateTimeZone
static ISODateTimeFormat ISODateTimeFormat.getInstance(DateTimeZone zone)
           
static DateTimeFormat DateTimeFormat.getInstance(DateTimeZone zone)
           
static DateTimeFormat DateTimeFormat.getInstance(DateTimeZone zone, java.util.Locale locale)
           
 void AbstractDateTimeFormatter.printTo(java.lang.StringBuffer buf, long millisUTC, DateTimeZone zone)
           
 void AbstractDateTimeFormatter.printTo(java.io.Writer out, long millisUTC, DateTimeZone zone)
           
 java.lang.String AbstractDateTimeFormatter.print(long millisUTC, DateTimeZone zone)
           
 java.lang.String AbstractDateTimeFormatter.print(long millisUTC, DateTimeZone zone, long millisLocal)
           
 void DateTimeParserBucket.setDateTimeZone(DateTimeZone zone)
          Set a time zone to be used when computeMillis is called, which overrides any set time zone offset.
 void DateTimePrinter.printTo(java.lang.StringBuffer buf, long millisUTC, DateTimeZone zone)
          Prints an instant from milliseconds since 1970-01-01T00:00:00Z, attempting to use the given DateTimeZone.
 void DateTimePrinter.printTo(java.io.Writer out, long millisUTC, DateTimeZone zone)
          Prints an instant from milliseconds since 1970-01-01T00:00:00Z, attempting to use the given DateTimeZone.
 void DateTimePrinter.printTo(java.lang.StringBuffer buf, long millisUTC, DateTimeZone zone, long millisLocal)
          Prints an instant from milliseconds since 1970-01-01T00:00:00Z, attempting to use the given DateTimeZone.
 void DateTimePrinter.printTo(java.io.Writer out, long millisUTC, DateTimeZone zone, long millisLocal)
          Prints an instant from milliseconds since 1970-01-01T00:00:00Z, attempting to use the given DateTimeZone.
 java.lang.String DateTimePrinter.print(long millisUTC, DateTimeZone zone)
          Prints an instant from milliseconds since 1970-01-01T00:00:00Z, attempting to use the given DateTimeZone.
 java.lang.String DateTimePrinter.print(long millisUTC, DateTimeZone zone, long millisLocal)
          Prints an instant from milliseconds since 1970-01-01T00:00:00Z, attempting to use the given DateTimeZone.
 void DateTimeFormatter.printTo(java.lang.StringBuffer buf, long millisUTC, DateTimeZone zone)
          Prints an instant from milliseconds since 1970-01-01T00:00:00Z, attempting to use the given DateTimeZone.
 void DateTimeFormatter.printTo(java.io.Writer out, long millisUTC, DateTimeZone zone)
          Prints an instant from milliseconds since 1970-01-01T00:00:00Z, attempting to use the given DateTimeZone.
 void DateTimeFormatter.printTo(java.lang.StringBuffer buf, long millisUTC, DateTimeZone zone, long millisLocal)
          Prints an instant from milliseconds since 1970-01-01T00:00:00Z, attempting to use the given DateTimeZone.
 void DateTimeFormatter.printTo(java.io.Writer out, long millisUTC, DateTimeZone zone, long millisLocal)
          Prints an instant from milliseconds since 1970-01-01T00:00:00Z, attempting to use the given DateTimeZone.
 java.lang.String DateTimeFormatter.print(long millisUTC, DateTimeZone zone)
          Prints an instant from milliseconds since 1970-01-01T00:00:00Z, attempting to use the given DateTimeZone.
 java.lang.String DateTimeFormatter.print(long millisUTC, DateTimeZone zone, long millisLocal)
          Prints an instant from milliseconds since 1970-01-01T00:00:00Z, attempting to use the given DateTimeZone.
 

Constructors in org.joda.time.format with parameters of type DateTimeZone
DateTimeFormatterBuilder(DateTimeZone zone)
          Creates a DateTimeFormatterBuilder with ISOChronology, in the given time zone, with the default locale.
DateTimeFormatterBuilder(DateTimeZone zone, java.util.Locale locale)
          Creates a DateTimeFormatterBuilder with ISOChronology, in the given time zone, with any locale.
 

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.getDateTimeZone(java.lang.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.
static DateTimeZone DateTimeZoneBuilder.readFrom(java.io.InputStream in, java.lang.String id)
          Decodes a built DateTimeZone from the given stream, as encoded by writeTo.
static DateTimeZone DateTimeZoneBuilder.readFrom(java.io.DataInput in, java.lang.String id)
          Decodes a built DateTimeZone from the given stream, as encoded by writeTo.
 DateTimeZone DateTimeZoneBuilder.toDateTimeZone(java.lang.String id)
          Processes all the rules and builds a DateTimeZone.
 DateTimeZone CachedDateTimeZone.getUncachedZone()
          Returns the DateTimeZone being wrapped.
 DateTimeZone Provider.getDateTimeZone(java.lang.String id)
          Retrieves a DateTimeZone for the given id.
 

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.
 


Joda Time API

Copyright © 2001-2003 Stephen Colebourne. All Rights Reserved.