org.jscience.history.calendars
Class JulianCalendar

java.lang.Object
  extended by org.jscience.history.calendars.AlternateCalendar
      extended by org.jscience.history.calendars.SevenDaysWeek
          extended by org.jscience.history.calendars.MonthDayYear
              extended by org.jscience.history.calendars.GregorianCalendar
                  extended by org.jscience.history.calendars.JulianCalendar
Direct Known Subclasses:
CopticCalendar

public class JulianCalendar
extends GregorianCalendar

DOCUMENT ME!


Field Summary
static long EPOCH
          DOCUMENT ME!
 
Fields inherited from class org.jscience.history.calendars.GregorianCalendar
MONTHS
 
Fields inherited from class org.jscience.history.calendars.MonthDayYear
day, month, year
 
Fields inherited from class org.jscience.history.calendars.SevenDaysWeek
DAYNAMES, FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, WEDNESDAY
 
Fields inherited from class org.jscience.history.calendars.AlternateCalendar
JD_EPOCH, rd, unicode
 
Constructor Summary
JulianCalendar()
          Creates a new JulianCalendar object.
JulianCalendar(AlternateCalendar altcalendar)
          Creates a new JulianCalendar object.
JulianCalendar(int i, int j, int k)
          Creates a new JulianCalendar object.
JulianCalendar(long l)
          Creates a new JulianCalendar object.
 
Method Summary
protected  java.lang.String getSuffix()
          DOCUMENT ME!
static boolean isLeapYear(int i)
          DOCUMENT ME!
static void main(java.lang.String[] args)
          DOCUMENT ME!
protected  void recomputeFromRD()
          DOCUMENT ME!
protected  void recomputeRD()
          DOCUMENT ME!
 void set(long l)
          DOCUMENT ME!
 java.lang.String toString()
          DOCUMENT ME!
 
Methods inherited from class org.jscience.history.calendars.GregorianCalendar
dayNumber, daysLeft, getMonths, monthName
 
Methods inherited from class org.jscience.history.calendars.MonthDayYear
getDay, getMonth, getYear, set
 
Methods inherited from class org.jscience.history.calendars.SevenDaysWeek
kDayAfter, kDayBefore, kDayNearest, kDayOnOrAfter, kDayOnOrBefore, nthKDay, weekDay
 
Methods inherited from class org.jscience.history.calendars.AlternateCalendar
add, after, amod, before, difference, difference, fldiv, fromJD, mod, mod, subtract, toJD, toJD, toRD
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

EPOCH

public static long EPOCH
DOCUMENT ME!

Constructor Detail

JulianCalendar

public JulianCalendar(long l)
Creates a new JulianCalendar object.

Parameters:
l - DOCUMENT ME!

JulianCalendar

public JulianCalendar()
Creates a new JulianCalendar object.


JulianCalendar

public JulianCalendar(AlternateCalendar altcalendar)
Creates a new JulianCalendar object.

Parameters:
altcalendar - DOCUMENT ME!

JulianCalendar

public JulianCalendar(int i,
                      int j,
                      int k)
Creates a new JulianCalendar object.

Parameters:
i - DOCUMENT ME!
j - DOCUMENT ME!
k - DOCUMENT ME!
Method Detail

recomputeRD

protected void recomputeRD()
DOCUMENT ME!

Overrides:
recomputeRD in class GregorianCalendar

recomputeFromRD

protected void recomputeFromRD()
DOCUMENT ME!

Overrides:
recomputeFromRD in class GregorianCalendar

set

public void set(long l)
DOCUMENT ME!

Overrides:
set in class GregorianCalendar
Parameters:
l - DOCUMENT ME!

isLeapYear

public static boolean isLeapYear(int i)
DOCUMENT ME!

Parameters:
i - DOCUMENT ME!
Returns:
DOCUMENT ME!

getSuffix

protected java.lang.String getSuffix()
DOCUMENT ME!

Overrides:
getSuffix in class GregorianCalendar
Returns:
DOCUMENT ME!

toString

public java.lang.String toString()
DOCUMENT ME!

Overrides:
toString in class MonthDayYear
Returns:
DOCUMENT ME!

main

public static void main(java.lang.String[] args)
DOCUMENT ME!

Parameters:
args - DOCUMENT ME!