org.joda.time.chrono.gj
Class TestJulianChronology

java.lang.Object
  extended by org.joda.time.Chronology
      extended by org.joda.time.chrono.BaseChronology
          extended by 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

Constructor Summary
TestJulianChronology()
          Constructs with an epoch of 1969-12-19.
TestJulianChronology(int epochYear, int epochMonth, int epochDay)
           
 
Method Summary
 DateTimeField dayOfMonth()
           
 DateTimeField dayOfWeek()
           
 DateTimeField dayOfYear()
           
 DurationField days()
           
 DateTimeZone getZone()
           
 DateTimeField monthOfYear()
           
 DurationField months()
           
 String toString()
           
 DateTimeField weekOfWeekyear()
           
 DurationField weeks()
           
 DateTimeField weekyear()
           
 DurationField weekyears()
           
 Chronology withUTC()
           
 Chronology withZone(DateTimeZone zone)
          Unsupported.
 DateTimeField year()
           
 DurationField years()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestJulianChronology

public TestJulianChronology()
Constructs with an epoch of 1969-12-19.


TestJulianChronology

public TestJulianChronology(int epochYear,
                            int epochMonth,
                            int epochDay)
Method Detail

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.