Uses of Class org.joda.time.DateTimeZone

Uses in package org.joda.time.tz

Classes derived from org.joda.time.DateTimeZone

class
Improves the performance of requesting time zone offsets and name keys by caching the results.
class
Basic DateTimeZone implementation that has a fixed name key and offsets.

Methods with parameter type org.joda.time.DateTimeZone

CachedDateTimeZone
Returns a new CachedDateTimeZone unless given zone is already cached.

Methods with return type org.joda.time.DateTimeZone

DateTimeZone
Returns the DateTimeZone being wrapped.
DateTimeZone
Provider.getZone(String id)
Retrieves a DateTimeZone for the given id.
DateTimeZone
UTCProvider.getZone(String id)
Returns UTC for "UTC", null otherwise.
DateTimeZone
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
DateTimeZoneBuilder.readFrom(DataInput in, String id)
Decodes a built DateTimeZone from the given stream, as encoded by writeTo.
DateTimeZone
DateTimeZoneBuilder.readFrom(InputStream 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.

Uses in package org.joda.time.convert

Methods with parameter type org.joda.time.DateTimeZone

Chronology
Extracts the chronology from an object of this convertor's type where the time zone is specified.
Chronology
Extracts the chronology from an object of this converter's type where the time zone is specified.
Chronology
Extracts the chronology from an object of this converter's type where the time zone is specified.

Uses in package org.joda.time

Constructors with parameter type org.joda.time.DateTimeZone

DateMidnight.DateMidnight(Object instant, DateTimeZone zone)
Constructs an instance from an Object that represents a datetime, forcing the time zone to that specified.
DateMidnight.DateMidnight(int year, int monthOfYear, int dayOfMonth, DateTimeZone zone)
Constructs an instance from datetime field values using ISOChronology in the specified time zone.
DateMidnight.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.
Constructs an instance set to the current system millisecond time using ISOChronology in the specified time zone.
DateTime.DateTime(Object instant, DateTimeZone zone)
Constructs an instance from an Object that represents a datetime, forcing the time zone to that specified.
DateTime.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.
DateTime.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.
Constructs an instance set to the current system millisecond time using ISOChronology in the specified time zone.
Interval.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.
LocalDate.LocalDate(Object instant, DateTimeZone zone)
Constructs an instance from an Object that represents a datetime, forcing the time zone to that specified.
LocalDate.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.
Constructs an instance set to the current local time evaluated using ISO chronology in the specified zone.
LocalDateTime.LocalDateTime(Object instant, DateTimeZone zone)
Constructs an instance from an Object that represents a datetime, forcing the time zone to that specified.
Constructs an instance set to the local time defined by the specified instant evaluated using ISO chronology in the specified zone.
Constructs an instance set to the current local time evaluated using ISO chronology in the specified zone.
LocalTime.LocalTime(Object instant, DateTimeZone zone)
Constructs an instance from an Object that represents a datetime, forcing the time zone to that specified.
LocalTime.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.
Constructs an instance set to the current local time evaluated using ISO chronology in the specified zone.
Constructs an instance from an Object that represents a datetime, forcing the time zone to that specified.
MutableDateTime.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.
Constructs an instance set to the milliseconds from 1970-01-01T00:00:00Z using ISOChronology in the specified time zone.
Constructs an instance set to the current system millisecond time using ISOChronology in the specified time zone.
Constructs a TimeOfDay with the current time, using ISOChronology in the specified zone to extract the fields.
Constructs a YearMonthDay with the current date, using ISOChronology in the specified zone to extract the fields.

Fields of type org.joda.time.DateTimeZone

DateTimeZone
The time zone for Universal Coordinated Time

Methods with parameter type org.joda.time.DateTimeZone

Chronology
Gets an instance of the BuddhistChronology in the specified zone.
Chronology
Gets an instance of the CopticChronology in the specified zone.
Chronology
Gets an instance of the GJChronology in the specified zone.
Chronology
Gets an instance of the GregorianChronology in the specified zone.
Chronology
Gets an instance of the ISOChronology in the specified zone.
Chronology
Gets an instance of the JulianChronology in the specified zone.
long
DateTimeZone.getMillisKeepLocal(DateTimeZone newZone, long oldInstant)
Gets the millisecond instant in another zone keeping the same local time.
DateTimeZone
Gets the zone handling null.
void
Sets the default time zone.
void
Sets the time zone of the datetime, changing the chronology and field values.
void
Sets the time zone of the datetime, changing the chronology and field values.
void
Sets the time zone of the datetime, changing the chronology and millisecond.
void
Sets the time zone of the datetime, changing the chronology and millisecond.
DateMidnight
Converts this LocalDate to a DateMidnight.
DateMidnight
Converts this object to a DateMidnight.
DateTime
Get this object as a DateTime, returning this if possible.
DateTime
Converts this object to a DateTime using the specified zone.
DateTime
Converts this object to a DateTime using a LocalTime to fill in the missing fields.
DateTime
Converts this object to a DateTime using a TimeOfDay to fill in the missing fields.
DateTime
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.
DateTime
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.
DateTime
Converts this LocalDate to a full datetime at midnight using the specified time zone.
DateTime
Converts this YearMonthDay to a full datetime at midnight using the specified time zone.
DateTime
Converts this LocalDate to a full datetime at the earliest valid time for the date using the specified time zone.
DateTime
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
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.
Interval
Converts this object to an Interval representing the whole day.
Interval
Converts this object to an Interval representing the whole day.
Chronology
Returns an instance of this Chronology that operates in any time zone.
DateTime
Returns a copy of this datetime with a different time zone, preserving the millisecond instant.
DateMidnight
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.
DateTime
Returns a copy of this datetime with a different time zone, preserving the field values.

Methods with return type org.joda.time.DateTimeZone

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

Uses in package org.joda.time.chrono

Methods with parameter type org.joda.time.DateTimeZone

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

Methods with return type org.joda.time.DateTimeZone

DateTimeZone
Returns the DateTimeZone that this Chronology operates in, or null if unspecified.
DateTimeZone
Returns the DateTimeZone that this Chronology operates in, or null if unspecified.
DateTimeZone
Returns the DateTimeZone that this Chronology operates in, or null if unspecified.
DateTimeZone
Returns the DateTimeZone that this Chronology operates in, or null if unspecified.

Uses in package org.joda.time.format

Methods with parameter type org.joda.time.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
Set a time zone to be used when computeMillis is called, which overrides any set time zone offset.
DateTimeFormatter
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.

Methods with return type org.joda.time.DateTimeZone

DateTimeZone
Gets the zone to use as an override.
DateTimeZone
Returns the time zone used by computeMillis, or null if an offset is used instead.

Uses in package org.joda.time.base

Constructors with parameter type org.joda.time.DateTimeZone

BaseDateTime.BaseDateTime(Object instant, DateTimeZone zone)
Constructs an instance from an Object that represents a datetime, forcing the time zone to that specified.
BaseDateTime.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.
BaseDateTime.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.
Constructs an instance set to the current system millisecond time using ISOChronology in the specified time zone.

Methods with parameter type org.joda.time.DateTimeZone

DateTime
Get this object as a DateTime using the same chronology but a different zone.
MutableDateTime
Get this object as a MutableDateTime using the same chronology but a different zone.

Methods with return type org.joda.time.DateTimeZone

DateTimeZone
Gets the time zone of the instant from the chronology.

Copyright (c) 2001-2006 - Joda.org