org.joda.time.chrono.gj
Class TestJulianChronology
java.lang.Object
org.joda.time.Chronology
org.joda.time.chrono.BaseChronology
org.joda.time.chrono.gj.TestJulianChronology
- All Implemented Interfaces:
- Serializable
public final class TestJulianChronology
- extends BaseChronology
A reference Julian chronology implementation, intended for testing purposes
only. Correctness is favored over performance. The key functions for date
calculations are based on ones provided in "Calendrical Calculations", ISBN
0-521-77752-6.
- Author:
- Brian S O'Neill
- See Also:
- Serialized Form
Methods inherited from class org.joda.time.chrono.BaseChronology |
add, add, centuries, centuryOfEra, clockhourOfDay, clockhourOfHalfday, era, eras, get, get, get, getDateTimeMillis, getDateTimeMillis, getDateTimeMillis, halfdayOfDay, halfdays, hourOfDay, hourOfHalfday, hours, millis, millisOfDay, millisOfSecond, minuteOfDay, minuteOfHour, minutes, secondOfDay, secondOfMinute, seconds, set, validate, weekyearOfCentury, yearOfCentury, yearOfEra |
TestJulianChronology
public TestJulianChronology()
- Constructs with an epoch of 1969-12-19.
TestJulianChronology
public TestJulianChronology(int epochYear,
int epochMonth,
int epochDay)
dayOfMonth
public DateTimeField dayOfMonth()
weekyear
public DateTimeField weekyear()
monthOfYear
public DateTimeField monthOfYear()
year
public DateTimeField year()
toString
public String toString()
- Specified by:
toString
in class BaseChronology
getZone
public DateTimeZone getZone()
- Specified by:
getZone
in class BaseChronology
withUTC
public Chronology withUTC()
- Specified by:
withUTC
in class BaseChronology
withZone
public Chronology withZone(DateTimeZone zone)
- Unsupported.
- Specified by:
withZone
in class BaseChronology
days
public DurationField days()
- Overrides:
days
in class BaseChronology
dayOfWeek
public DateTimeField dayOfWeek()
- Overrides:
dayOfWeek
in class BaseChronology
dayOfYear
public DateTimeField dayOfYear()
- Overrides:
dayOfYear
in class BaseChronology
weeks
public DurationField weeks()
- Overrides:
weeks
in class BaseChronology
weekOfWeekyear
public DateTimeField weekOfWeekyear()
- Overrides:
weekOfWeekyear
in class BaseChronology
weekyears
public DurationField weekyears()
- Overrides:
weekyears
in class BaseChronology
months
public DurationField months()
- Overrides:
months
in class BaseChronology
years
public DurationField years()
- Overrides:
years
in class BaseChronology
Copyright © 2002-2013 Joda.org. All Rights Reserved.