org.jscience.history.calendars
Class OldHinduSolarCalendar

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.OldHinduSolarCalendar
Direct Known Subclasses:
ModifiedHinduSolarBRCalendar, ModifiedHinduSolarCalendar, OldHinduLunarCalendar

public class OldHinduSolarCalendar
extends MonthDayYear

DOCUMENT ME!


Field Summary
protected static long EPOCH
          DOCUMENT ME!
protected static Rational JOVIANPERIOD
          DOCUMENT ME!
protected static java.lang.String[] MONTHS
          DOCUMENT ME!
protected static Rational SIDEREALYEAR
          DOCUMENT ME!
protected static Rational SOLARMONTH
          DOCUMENT ME!
 
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
OldHinduSolarCalendar()
          Creates a new OldHinduSolarCalendar object.
OldHinduSolarCalendar(AlternateCalendar altcalendar)
          Creates a new OldHinduSolarCalendar object.
OldHinduSolarCalendar(int i, int j, int k)
          Creates a new OldHinduSolarCalendar object.
OldHinduSolarCalendar(long l)
          Creates a new OldHinduSolarCalendar object.
 
Method Summary
 long dayCount()
          DOCUMENT ME!
 java.util.Enumeration getMonths()
          DOCUMENT ME!
protected  java.lang.String getSuffix()
          DOCUMENT ME!
 int jovianYear()
          DOCUMENT ME!
static void main(java.lang.String[] args)
          DOCUMENT ME!
protected  java.lang.String monthName()
          DOCUMENT ME!
protected  void recomputeFromRD()
          DOCUMENT ME!
protected  void recomputeRD()
          DOCUMENT ME!
 void set(int i, int j, int k)
          DOCUMENT ME!
 void set(long l)
          DOCUMENT ME!
 
Methods inherited from class org.jscience.history.calendars.MonthDayYear
getDay, getMonth, getYear, toString
 
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

protected static final long EPOCH
DOCUMENT ME!


SIDEREALYEAR

protected static final Rational SIDEREALYEAR
DOCUMENT ME!


JOVIANPERIOD

protected static final Rational JOVIANPERIOD
DOCUMENT ME!


SOLARMONTH

protected static final Rational SOLARMONTH
DOCUMENT ME!


MONTHS

protected static final java.lang.String[] MONTHS
DOCUMENT ME!

Constructor Detail

OldHinduSolarCalendar

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

Parameters:
l - DOCUMENT ME!

OldHinduSolarCalendar

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

Parameters:
altcalendar - DOCUMENT ME!

OldHinduSolarCalendar

public OldHinduSolarCalendar()
Creates a new OldHinduSolarCalendar object.


OldHinduSolarCalendar

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

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

dayCount

public long dayCount()
DOCUMENT ME!

Returns:
DOCUMENT ME!

jovianYear

public int jovianYear()
DOCUMENT ME!

Returns:
DOCUMENT ME!

recomputeRD

protected void recomputeRD()
DOCUMENT ME!

Specified by:
recomputeRD in class AlternateCalendar

recomputeFromRD

protected void recomputeFromRD()
DOCUMENT ME!

Specified by:
recomputeFromRD in class AlternateCalendar

set

public void set(long l)
DOCUMENT ME!

Specified by:
set in class AlternateCalendar
Parameters:
l - DOCUMENT ME!

set

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

Overrides:
set in class MonthDayYear
Parameters:
i - DOCUMENT ME!
j - DOCUMENT ME!
k - DOCUMENT ME!

monthName

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

Specified by:
monthName in class MonthDayYear
Returns:
DOCUMENT ME!

getSuffix

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

Specified by:
getSuffix in class MonthDayYear
Returns:
DOCUMENT ME!

getMonths

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

Specified by:
getMonths in class MonthDayYear
Returns:
DOCUMENT ME!

main

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

Parameters:
args - DOCUMENT ME!