|
Joda Time API | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use Chronology | |
| 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. |
| Uses of Chronology in org.joda.time |
| Methods in org.joda.time that return Chronology | |
Chronology |
MutableDateTime.getChronology()
Gets the chronology of the datetime. |
Chronology |
DateTime.getChronology()
Gets the chronology of the datetime. |
Chronology |
Instant.getChronology()
Gets the chronology of the instant, which is null. |
abstract Chronology |
Chronology.withUTC()
Returns an instance of this Chronology that operates in the UTC time zone. |
abstract Chronology |
Chronology.withDateTimeZone(DateTimeZone zone)
Returns an instance of this Chronology that operates in any time zone. |
Chronology |
ReadableInstant.getChronology()
Gets the chronology of the instant, null if not applicable. |
| Methods in org.joda.time with parameters of type Chronology | |
static DateTimeComparator |
DateTimeComparator.getDateOnlyInstance(Chronology chrono)
Returns a comparator that only considers date fields. |
static DateTimeComparator |
DateTimeComparator.getTimeOnlyInstance(Chronology chrono)
Returns a comparator that only considers time fields. |
protected ReadableInstant |
MutableDateTime.create(long millis,
Chronology chrono)
Creates a new instance of this class. |
void |
MutableDateTime.setChronology(Chronology chronology)
Set the chronology of the datetime. |
DateTime |
ReadableDateTime.toDateTime(Chronology chronology)
Get this object as a DateTime. |
MutableDateTime |
ReadableDateTime.toMutableDateTime(Chronology chronology)
Get this object as a MutableDateTime. |
DateTime |
AbstractDateTime.toDateTime(Chronology chronology)
Get this object as a DateTime. |
MutableDateTime |
AbstractDateTime.toMutableDateTime(Chronology chronology)
Get this object as a MutableDateTime. |
protected ReadableInstant |
DateTime.create(long millis,
Chronology chrono)
Creates a new instance of this class. |
protected ReadableInstant |
Instant.create(long millis,
Chronology chrono)
Creates a new instance of this class. |
ReadableInstant |
ReadableInstant.toCopy(Chronology newChronology)
Gets a copy of this instant with a different chronology. |
protected abstract ReadableInstant |
AbstractInstant.create(long millis,
Chronology chrono)
Creates a new instance of this class. |
ReadableInstant |
AbstractInstant.toCopy(Chronology newChronology)
Gets a copy of this instant with a different chronology. |
| Constructors in org.joda.time with parameters of type Chronology | |
MutableDateTime(Chronology chronology)
Constructs a MutableDateTime to the current datetime, as reported by the system clock. |
|
MutableDateTime(long millis,
Chronology chronology)
Constructs a MutableDateTime set to the milliseconds from 1970-01-01T00:00:00Z, using the supplied chronology. |
|
MutableDateTime(ReadableInstant instant,
Chronology chronology)
Constructs a MutableDateTime from a ReadableInstant, using the supplied chronology. |
|
MutableDateTime(java.util.Date date,
Chronology chronology)
Constructs a MutableDateTime from a Date, using the supplied chronology. |
|
MutableDateTime(java.util.Calendar calendar,
Chronology chronology)
Constructs a MutableDateTime from a Calendar, using the supplied chronology. |
|
MutableDateTime(java.lang.String str,
Chronology chronology)
Constructs a MutableDateTime from an ISO formatted String, using the supplied chronology. |
|
DateTime(Chronology chronology)
Constructs a DateTime to the current datetime, as reported by the system clock. |
|
DateTime(long millis,
Chronology chronology)
Constructs a DateTime set to the milliseconds from 1970-01-01T00:00:00Z, using the supplied chronology. |
|
DateTime(ReadableInstant instant,
Chronology chronology)
Constructs a DateTime from a ReadableInstant, using the supplied chronology. |
|
DateTime(java.util.Date date,
Chronology chronology)
Constructs a DateTime from a Date, using the supplied chronology. |
|
DateTime(java.util.Calendar calendar,
Chronology chronology)
Constructs a DateTime from a Calendar, using the supplied chronology. |
|
DateTime(java.lang.String str,
Chronology chronology)
Constructs a DateTime from an ISO formatted String, using the supplied chronology. |
|
| Uses of Chronology in org.joda.time.chrono |
| Subclasses of Chronology in org.joda.time.chrono | |
class |
DelegateChronology
DelegateChronology delegates each method call to the
chronology it wraps. |
class |
ZonedChronology
Wraps another Chronology for supporting time zones. |
| Methods in org.joda.time.chrono that return Chronology | |
Chronology |
ZonedChronology.withUTC()
|
Chronology |
ZonedChronology.withDateTimeZone(DateTimeZone zone)
|
protected Chronology |
DelegateChronology.getChronology()
Gets the wrapped chronology. |
abstract Chronology |
DelegateChronology.withUTC()
Get the Chronology in the UTC time 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 Chronology | |
ZonedChronology(Chronology chrono,
DateTimeZone zone)
Create a ZonedChronology for any chronology, overriding any time zone it may already have. |
|
DelegateChronology(Chronology chrono)
Create a DelegateChronology for any chronology. |
|
| Uses of Chronology in org.joda.time.chrono.buddhist |
| Subclasses of Chronology in org.joda.time.chrono.buddhist | |
class |
BuddhistChronology
BuddhistChronology provides access to the individual date
time fields for the Buddhist chronological calendar system. |
| Methods in org.joda.time.chrono.buddhist that return Chronology | |
Chronology |
BuddhistChronology.withUTC()
Gets the Chronology in the UTC time zone. |
Chronology |
BuddhistChronology.withDateTimeZone(DateTimeZone zone)
Gets the Chronology in a specific time zone. |
| Uses of Chronology in org.joda.time.chrono.gj |
| Subclasses of Chronology in org.joda.time.chrono.gj | |
class |
GJChronology
GJChronology provides access to the individual date time fields for the Gregorian/Julian defined chronological calendar system. |
| Methods in org.joda.time.chrono.gj that return Chronology | |
Chronology |
GJChronology.withDateTimeZone(DateTimeZone zone)
|
| Uses of Chronology in org.joda.time.chrono.iso |
| Subclasses of Chronology in org.joda.time.chrono.iso | |
class |
ISOChronology
ISOChronology provides access to the individual date time fields for the ISO8601 defined chronological calendar system. |
| Methods in org.joda.time.chrono.iso that return Chronology | |
Chronology |
ISOChronology.withUTC()
Gets the Chronology in the UTC time zone. |
Chronology |
ISOChronology.withDateTimeZone(DateTimeZone zone)
Gets the Chronology in a specific time zone. |
| Uses of Chronology in org.joda.time.format |
| Methods in org.joda.time.format that return Chronology | |
Chronology |
DateTimeFormatterBuilder.getChronology()
Returns the chronology being used by the formatter builder. |
abstract Chronology |
AbstractDateTimeFormatter.getChronology()
Returns the Chronology being used by the formatter, or null if none. |
Chronology |
DateTimeParser.getChronology()
Returns the Chronology being used by the parser, or null if none. |
Chronology |
DateTimePrinter.getChronology()
Returns the Chronology being used by the printer, or null if none. |
Chronology |
DateTimeFormatter.getChronology()
Returns the Chronology being used by the formatter, or null if none. |
| Methods in org.joda.time.format with parameters of type Chronology | |
static ISODateTimeFormat |
ISODateTimeFormat.getInstance(Chronology chrono)
|
static DateTimeFormat |
DateTimeFormat.getInstance(Chronology chrono)
|
static DateTimeFormat |
DateTimeFormat.getInstance(Chronology chrono,
java.util.Locale locale)
|
| Constructors in org.joda.time.format with parameters of type Chronology | |
DateTimeFormatterBuilder(Chronology chrono)
Creates a DateTimeFormatterBuilder with any chronology and the default locale. |
|
DateTimeFormatterBuilder(Chronology chrono,
java.util.Locale locale)
Creates a DateTimeFormatterBuilder with any chronology and locale. |
|
|
Joda Time API | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||