Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.joda.time.Chronology
org.joda.time.chrono.BaseChronology
org.joda.time.chrono.AssembledChronology
org.joda.time.chrono.BasicChronology
org.joda.time.chrono.BasicGJChronology
org.joda.time.chrono.JulianChronology
public final class JulianChronology
extends org.joda.time.chrono.BasicGJChronology
Wikipedia
, GregorianChronology
, GJChronology
Nested Class Summary |
Nested classes/interfaces inherited from class org.joda.time.chrono.AssembledChronology | |
AssembledChronology.Fields |
Method Summary | |
protected void |
|
static JulianChronology |
|
static JulianChronology |
|
static JulianChronology |
|
static JulianChronology |
|
Chronology |
|
Chronology |
|
Methods inherited from class org.joda.time.chrono.BasicChronology | |
assemble , equals , getDateTimeMillis , getDateTimeMillis , getMinimumDaysInFirstWeek , getZone , hashCode , toString |
Methods inherited from class org.joda.time.chrono.AssembledChronology | |
assemble , centuries , centuryOfEra , clockhourOfDay , clockhourOfHalfday , dayOfMonth , dayOfWeek , dayOfYear , days , era , eras , getBase , getDateTimeMillis , getDateTimeMillis , getDateTimeMillis , getParam , getZone , halfdayOfDay , halfdays , hourOfDay , hourOfHalfday , hours , millis , millisOfDay , millisOfSecond , minuteOfDay , minuteOfHour , minutes , monthOfYear , months , secondOfDay , secondOfMinute , seconds , weekOfWeekyear , weeks , weekyear , weekyearOfCentury , weekyears , year , yearOfCentury , yearOfEra , years |
Methods inherited from class org.joda.time.chrono.BaseChronology | |
add , add , centuries , centuryOfEra , clockhourOfDay , clockhourOfHalfday , dayOfMonth , dayOfWeek , dayOfYear , days , era , eras , get , get , get , getDateTimeMillis , getDateTimeMillis , getDateTimeMillis , getZone , halfdayOfDay , halfdays , hourOfDay , hourOfHalfday , hours , millis , millisOfDay , millisOfSecond , minuteOfDay , minuteOfHour , minutes , monthOfYear , months , secondOfDay , secondOfMinute , seconds , set , toString , validate , weekOfWeekyear , weeks , weekyear , weekyearOfCentury , weekyears , withUTC , withZone , year , yearOfCentury , yearOfEra , years |
Methods inherited from class org.joda.time.Chronology | |
add , add , centuries , centuryOfEra , clockhourOfDay , clockhourOfHalfday , dayOfMonth , dayOfWeek , dayOfYear , days , era , eras , get , get , get , getBuddhist , getBuddhist , getBuddhistUTC , getCoptic , getCoptic , getCopticUTC , getDateTimeMillis , getDateTimeMillis , getDateTimeMillis , getGJ , getGJ , getGJUTC , getGregorian , getGregorian , getGregorianUTC , getISO , getISO , getISOUTC , getJulian , getJulian , getJulianUTC , getZone , halfdayOfDay , halfdays , hourOfDay , hourOfHalfday , hours , millis , millisOfDay , millisOfSecond , minuteOfDay , minuteOfHour , minutes , monthOfYear , months , secondOfDay , secondOfMinute , seconds , set , toString , validate , weekOfWeekyear , weeks , weekyear , weekyearOfCentury , weekyears , withUTC , withZone , year , yearOfCentury , yearOfEra , years |
protected void assemble(AssembledChronology.Fields fields)
- Overrides:
- assemble in interface org.joda.time.chrono.BasicChronology
public static JulianChronology getInstance()
Gets an instance of the JulianChronology in the default time zone.
- Returns:
- a chronology in the default time zone
public static JulianChronology getInstance(DateTimeZone zone)
Gets an instance of the JulianChronology in the given time zone.
- Parameters:
zone
- the time zone to get the chronology in, null is default
- Returns:
- a chronology in the specified time zone
public static JulianChronology getInstance(DateTimeZone zone, int minDaysInFirstWeek)
Gets an instance of the JulianChronology in the given time zone.
- Parameters:
zone
- the time zone to get the chronology in, null is defaultminDaysInFirstWeek
- minimum number of days in first week of the year; default is 4
- Returns:
- a chronology in the specified time zone
public static JulianChronology getInstanceUTC()
Gets an instance of the JulianChronology. The time zone of the returned instance is UTC.
- Returns:
- a singleton UTC instance of the chronology
public Chronology withUTC()
Gets the Chronology in the UTC time zone.
- Overrides:
- withUTC in interface BaseChronology
- Returns:
- the chronology in UTC
public Chronology withZone(DateTimeZone zone)
Gets the Chronology in a specific time zone.
- Overrides:
- withZone in interface BaseChronology
- Parameters:
zone
- the zone to get the chronology in, null is default
- Returns:
- the chronology