org.jscience.history.calendars
Class SevenDaysWeek

java.lang.Object
  extended by org.jscience.history.calendars.AlternateCalendar
      extended by org.jscience.history.calendars.SevenDaysWeek
Direct Known Subclasses:
BahaiCalendar, MonthDayYear

public abstract class SevenDaysWeek
extends AlternateCalendar

DOCUMENT ME!


Field Summary
static java.lang.String[] DAYNAMES
          DOCUMENT ME!
static int FRIDAY
          DOCUMENT ME!
static int MONDAY
          DOCUMENT ME!
static int SATURDAY
          DOCUMENT ME!
static int SUNDAY
          DOCUMENT ME!
static int THURSDAY
          DOCUMENT ME!
static int TUESDAY
          DOCUMENT ME!
static int WEDNESDAY
          DOCUMENT ME!
 
Fields inherited from class org.jscience.history.calendars.AlternateCalendar
EPOCH, JD_EPOCH, rd, unicode
 
Constructor Summary
SevenDaysWeek()
          Creates a new SevenDaysWeek object.
 
Method Summary
 void kDayAfter(int i)
          DOCUMENT ME!
 void kDayBefore(int i)
          DOCUMENT ME!
 void kDayNearest(int i)
          DOCUMENT ME!
 void kDayOnOrAfter(int i)
          DOCUMENT ME!
 void kDayOnOrBefore(int i)
          DOCUMENT ME!
 void nthKDay(int i, int j)
          DOCUMENT ME!
 int weekDay()
          DOCUMENT ME!
 
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, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SUNDAY

public static final int SUNDAY
DOCUMENT ME!

See Also:
Constant Field Values

MONDAY

public static final int MONDAY
DOCUMENT ME!

See Also:
Constant Field Values

TUESDAY

public static final int TUESDAY
DOCUMENT ME!

See Also:
Constant Field Values

WEDNESDAY

public static final int WEDNESDAY
DOCUMENT ME!

See Also:
Constant Field Values

THURSDAY

public static final int THURSDAY
DOCUMENT ME!

See Also:
Constant Field Values

FRIDAY

public static final int FRIDAY
DOCUMENT ME!

See Also:
Constant Field Values

SATURDAY

public static final int SATURDAY
DOCUMENT ME!

See Also:
Constant Field Values

DAYNAMES

public static final java.lang.String[] DAYNAMES
DOCUMENT ME!

Constructor Detail

SevenDaysWeek

public SevenDaysWeek()
Creates a new SevenDaysWeek object.

Method Detail

weekDay

public int weekDay()
DOCUMENT ME!

Returns:
DOCUMENT ME!

kDayOnOrBefore

public void kDayOnOrBefore(int i)
DOCUMENT ME!

Parameters:
i - DOCUMENT ME!

kDayOnOrAfter

public void kDayOnOrAfter(int i)
DOCUMENT ME!

Parameters:
i - DOCUMENT ME!

kDayNearest

public void kDayNearest(int i)
DOCUMENT ME!

Parameters:
i - DOCUMENT ME!

kDayAfter

public void kDayAfter(int i)
DOCUMENT ME!

Parameters:
i - DOCUMENT ME!

kDayBefore

public void kDayBefore(int i)
DOCUMENT ME!

Parameters:
i - DOCUMENT ME!

nthKDay

public void nthKDay(int i,
                    int j)
DOCUMENT ME!

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