org.jscience.history.calendars
Class MonthDayYear

java.lang.Object
  extended by org.jscience.history.calendars.AlternateCalendar
      extended by org.jscience.history.calendars.SevenDaysWeek
          extended by org.jscience.history.calendars.MonthDayYear
Direct Known Subclasses:
ChineseCalendar, GregorianCalendar, HebrewCalendar, IslamicCalendar, ModifiedFrenchCalendar, OldHinduSolarCalendar, PersianCalendar

public abstract class MonthDayYear
extends SevenDaysWeek

DOCUMENT ME!


Field Summary
protected  int day
          DOCUMENT ME!
protected  int month
          DOCUMENT ME!
protected  int year
          DOCUMENT ME!
 
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
EPOCH, JD_EPOCH, rd, unicode
 
Constructor Summary
MonthDayYear()
          Creates a new MonthDayYear object.
 
Method Summary
 int getDay()
          DOCUMENT ME!
 int getMonth()
          DOCUMENT ME!
abstract  java.util.Enumeration getMonths()
          DOCUMENT ME!
protected abstract  java.lang.String getSuffix()
          DOCUMENT ME!
 int getYear()
          DOCUMENT ME!
protected abstract  java.lang.String monthName()
          DOCUMENT ME!
 void set(int i, int j, int k)
          DOCUMENT ME!
 java.lang.String toString()
          DOCUMENT ME!
 
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, recomputeFromRD, recomputeRD, set, subtract, toJD, toJD, toRD
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

month

protected int month
DOCUMENT ME!


day

protected int day
DOCUMENT ME!


year

protected int year
DOCUMENT ME!

Constructor Detail

MonthDayYear

public MonthDayYear()
Creates a new MonthDayYear object.

Method Detail

getDay

public int getDay()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getMonth

public int getMonth()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getYear

public int getYear()
DOCUMENT ME!

Returns:
DOCUMENT ME!

set

public void set(int i,
                int j,
                int k)
DOCUMENT ME!

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

toString

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

Specified by:
toString in class AlternateCalendar
Returns:
DOCUMENT ME!

monthName

protected abstract java.lang.String monthName()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getSuffix

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

Returns:
DOCUMENT ME!

getMonths

public abstract java.util.Enumeration getMonths()
DOCUMENT ME!

Returns:
DOCUMENT ME!