org.jscience.history.calendars
Class ModifiedHinduLunarCalendar

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

public class ModifiedHinduLunarCalendar
extends OldHinduLunarCalendar

DOCUMENT ME!


Field Summary
protected  boolean leapday
          DOCUMENT ME!
protected static int LUNARERA
          DOCUMENT ME!
protected static org.jscience.history.calendars.ModifiedHinduCalendar mh
          DOCUMENT ME!
 
Fields inherited from class org.jscience.history.calendars.OldHinduLunarCalendar
leap, LUNARDAY, LUNARMONTH, MONTHS
 
Fields inherited from class org.jscience.history.calendars.OldHinduSolarCalendar
EPOCH, JOVIANPERIOD, 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
ModifiedHinduLunarCalendar()
          Creates a new ModifiedHinduLunarCalendar object.
ModifiedHinduLunarCalendar(AlternateCalendar altcalendar)
          Creates a new ModifiedHinduLunarCalendar object.
ModifiedHinduLunarCalendar(int i, boolean flag, int j, boolean flag1, int k)
          Creates a new ModifiedHinduLunarCalendar object.
ModifiedHinduLunarCalendar(long l)
          Creates a new ModifiedHinduLunarCalendar object.
 
Method Summary
 boolean getLeapDay()
          DOCUMENT ME!
 java.lang.String getSuffix()
          DOCUMENT ME!
static void main(java.lang.String[] args)
          DOCUMENT ME!
 boolean precedes(ModifiedHinduLunarCalendar modhindulunar)
          DOCUMENT ME!
 void recomputeFromRD()
          DOCUMENT ME!
 void recomputeRD()
          DOCUMENT ME!
 void set(int i, boolean flag, int j, boolean flag1, int k)
          DOCUMENT ME!
 java.lang.String toString()
          DOCUMENT ME!
 
Methods inherited from class org.jscience.history.calendars.OldHinduLunarCalendar
getLeap, getMonths, isLeapYear, monthName, set, set, set
 
Methods inherited from class org.jscience.history.calendars.OldHinduSolarCalendar
dayCount, jovianYear
 
Methods inherited from class org.jscience.history.calendars.MonthDayYear
getDay, getMonth, getYear
 
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

LUNARERA

protected static final int LUNARERA
DOCUMENT ME!

See Also:
Constant Field Values

mh

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


leapday

protected boolean leapday
DOCUMENT ME!

Constructor Detail

ModifiedHinduLunarCalendar

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

Parameters:
l - DOCUMENT ME!

ModifiedHinduLunarCalendar

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

Parameters:
altcalendar - DOCUMENT ME!

ModifiedHinduLunarCalendar

public ModifiedHinduLunarCalendar()
Creates a new ModifiedHinduLunarCalendar object.


ModifiedHinduLunarCalendar

public ModifiedHinduLunarCalendar(int i,
                                  boolean flag,
                                  int j,
                                  boolean flag1,
                                  int k)
Creates a new ModifiedHinduLunarCalendar object.

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

set

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

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

recomputeFromRD

public void recomputeFromRD()
DOCUMENT ME!

Overrides:
recomputeFromRD in class OldHinduLunarCalendar

precedes

public boolean precedes(ModifiedHinduLunarCalendar modhindulunar)
DOCUMENT ME!

Parameters:
modhindulunar - DOCUMENT ME!
Returns:
DOCUMENT ME!

recomputeRD

public void recomputeRD()
DOCUMENT ME!

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

getLeapDay

public boolean getLeapDay()
DOCUMENT ME!

Returns:
DOCUMENT ME!

toString

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

Overrides:
toString in class MonthDayYear
Returns:
DOCUMENT ME!

getSuffix

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

Overrides:
getSuffix in class OldHinduLunarCalendar
Returns:
DOCUMENT ME!

main

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

Parameters:
args - DOCUMENT ME!