org.jscience.history.calendars
Class ModifiedHinduSolarCalendar

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
                  extended by org.jscience.history.calendars.ModifiedHinduSolarCalendar

public class ModifiedHinduSolarCalendar
extends OldHinduSolarCalendar

DOCUMENT ME!


Field Summary
protected static org.jscience.history.calendars.ModifiedHinduCalendar mh
          DOCUMENT ME!
protected static int SOLARERA
          DOCUMENT ME!
 
Fields inherited from class org.jscience.history.calendars.OldHinduSolarCalendar
EPOCH, JOVIANPERIOD, MONTHS, SIDEREALYEAR, SOLARMONTH
 
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
ModifiedHinduSolarCalendar()
          Creates a new ModifiedHinduSolarCalendar object.
ModifiedHinduSolarCalendar(AlternateCalendar altcalendar)
          Creates a new ModifiedHinduSolarCalendar object.
ModifiedHinduSolarCalendar(int i, int j, int k)
          Creates a new ModifiedHinduSolarCalendar object.
ModifiedHinduSolarCalendar(long l)
          Creates a new ModifiedHinduSolarCalendar object.
 
Method Summary
protected  java.lang.String getSuffix()
          DOCUMENT ME!
static void main(java.lang.String[] args)
          DOCUMENT ME!
 boolean precedes(ModifiedHinduSolarCalendar modhindusolar)
          DOCUMENT ME!
 void recomputeFromRD()
          DOCUMENT ME!
 void recomputeRD()
          DOCUMENT ME!
 
Methods inherited from class org.jscience.history.calendars.OldHinduSolarCalendar
dayCount, getMonths, jovianYear, monthName, set, set
 
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

SOLARERA

protected static final int SOLARERA
DOCUMENT ME!

See Also:
Constant Field Values

mh

protected static org.jscience.history.calendars.ModifiedHinduCalendar mh
DOCUMENT ME!

Constructor Detail

ModifiedHinduSolarCalendar

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

Parameters:
l - DOCUMENT ME!

ModifiedHinduSolarCalendar

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

Parameters:
altcalendar - DOCUMENT ME!

ModifiedHinduSolarCalendar

public ModifiedHinduSolarCalendar()
Creates a new ModifiedHinduSolarCalendar object.


ModifiedHinduSolarCalendar

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

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

recomputeFromRD

public void recomputeFromRD()
DOCUMENT ME!

Overrides:
recomputeFromRD in class OldHinduSolarCalendar

precedes

public boolean precedes(ModifiedHinduSolarCalendar modhindusolar)
DOCUMENT ME!

Parameters:
modhindusolar - DOCUMENT ME!
Returns:
DOCUMENT ME!

recomputeRD

public void recomputeRD()
DOCUMENT ME!

Overrides:
recomputeRD in class OldHinduSolarCalendar
Throws:
InconsistentDateException - DOCUMENT ME!

getSuffix

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

Overrides:
getSuffix in class OldHinduSolarCalendar
Returns:
DOCUMENT ME!

main

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

Parameters:
args - DOCUMENT ME!