| org.joda.time.chrono.gj.TestGJChronology org.joda.time.chrono.gj.TestGregorianChronology
TestGregorianChronology | final public class TestGregorianChronology extends TestGJChronology (Code) | | A reference Gregorian 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 |
TestGregorianChronology | public TestGregorianChronology()(Code) | | Constructs with an epoch of 1970-01-01.
|
TestGregorianChronology | public TestGregorianChronology(int epochYear, int epochMonth, int epochDay)(Code) | | |
fixedFromGJ | long fixedFromGJ(int year, int monthOfYear, int dayOfMonth)(Code) | | days from 0001-01-01 |
fixedFromISO | long fixedFromISO(int weekyear, int weekOfWeekyear, int dayOfWeek)(Code) | | |
gjFromFixed | int[] gjFromFixed(long date)(Code) | | Parameters: date - days from 0001-01-01 gj year, monthOfYear, dayOfMonth |
gjYearFromFixed | int gjYearFromFixed(long date)(Code) | | Parameters: date - days from 0001-01-01 gj year |
isLeapYear | boolean isLeapYear(int year)(Code) | | |
isoFromFixed | int[] isoFromFixed(long date)(Code) | | Parameters: date - days from 0001-01-01 iso weekyear, weekOfWeekyear, dayOfWeek (1=Monday to 7) |
millisPerMonth | long millisPerMonth()(Code) | | |
millisPerYear | long millisPerYear()(Code) | | |
Fields inherited from org.joda.time.chrono.gj.TestGJChronology | final static long MILLIS_PER_DAY(Code)(Java Doc)
|
Methods inherited from org.joda.time.chrono.gj.TestGJChronology | static long amod(long dividend, long divisor)(Code)(Java Doc) public DateTimeField dayOfMonth()(Code)(Java Doc) public DateTimeField dayOfWeek()(Code)(Java Doc) public DateTimeField dayOfYear()(Code)(Java Doc) public DurationField days()(Code)(Java Doc) static long div(long dividend, long divisor)(Code)(Java Doc) long firstWeekday(int weekday, int year, int monthOfYear, int dayOfMonth)(Code)(Java Doc) abstract long fixedFromGJ(int year, int monthOfYear, int dayOfMonth)(Code)(Java Doc) abstract long fixedFromISO(int weekyear, int weekOfWeekyear, int dayOfWeek)(Code)(Java Doc) long fixedFromMillis(long millis)(Code)(Java Doc) long getDateOnlyMillis(long millis)(Code)(Java Doc) long getTimeOnlyMillis(long millis)(Code)(Java Doc) public DateTimeZone getZone()(Code)(Java Doc) abstract int[] gjFromFixed(long date)(Code)(Java Doc) int[] gjFromMillis(long millis)(Code)(Java Doc) abstract int gjYearFromFixed(long date)(Code)(Java Doc) int gjYearFromMillis(long millis)(Code)(Java Doc) abstract boolean isLeapYear(int year)(Code)(Java Doc) abstract int[] isoFromFixed(long date)(Code)(Java Doc) int[] isoFromMillis(long millis)(Code)(Java Doc) long lastWeekday(int weekday, int year, int monthOfYear, int dayOfMonth)(Code)(Java Doc) long millisFromFixed(long fixed)(Code)(Java Doc) long millisFromGJ(int year, int monthOfYear, int dayOfMonth)(Code)(Java Doc) long millisFromISO(int weekyear, int weekOfWeekyear, int dayOfWeek)(Code)(Java Doc) abstract long millisPerMonth()(Code)(Java Doc) abstract long millisPerYear()(Code)(Java Doc) static long mod(long dividend, long divisor)(Code)(Java Doc) public DateTimeField monthOfYear()(Code)(Java Doc) public DurationField months()(Code)(Java Doc) long nthWeekday(int n, int weekday, int year, int monthOfYear, int dayOfMonth)(Code)(Java Doc) public DateTimeField weekOfWeekyear()(Code)(Java Doc) long weekdayAfter(long date, int weekday)(Code)(Java Doc) long weekdayBefore(long date, int weekday)(Code)(Java Doc) long weekdayNearest(long date, int weekday)(Code)(Java Doc) long weekdayOnOrAfter(long date, int weekday)(Code)(Java Doc) long weekdayOnOrBefore(long date, int weekday)(Code)(Java Doc) public DurationField weeks()(Code)(Java Doc) public DateTimeField weekyear()(Code)(Java Doc) public DurationField weekyears()(Code)(Java Doc) public Chronology withUTC()(Code)(Java Doc) public Chronology withZone(DateTimeZone zone)(Code)(Java Doc) public DateTimeField year()(Code)(Java Doc) public DurationField years()(Code)(Java Doc)
|
|
|