org.jscience.history.calendars
Class ModifiedHinduLunarBRCalendar

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.ModifiedHinduLunarBRCalendar

public class ModifiedHinduLunarBRCalendar
extends OldHinduLunarCalendar

DOCUMENT ME!


Field Summary
protected  boolean leapday
          DOCUMENT ME!
protected static int LUNARERA
          DOCUMENT ME!
protected static org.jscience.history.calendars.ModifiedHinduBRCalendar 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
ModifiedHinduLunarBRCalendar()
          Creates a new ModifiedHinduLunarBRCalendar object.
ModifiedHinduLunarBRCalendar(AlternateCalendar altcalendar)
          Creates a new ModifiedHinduLunarBRCalendar object.
ModifiedHinduLunarBRCalendar(int i, boolean flag, int j, boolean flag1, int k)
          Creates a new ModifiedHinduLunarBRCalendar object.
ModifiedHinduLunarBRCalendar(long l)
          Creates a new ModifiedHinduLunarBRCalendar object.
 
Method Summary
 boolean getLeapDay()
          DOCUMENT ME!
static void main(java.lang.String[] args)
          DOCUMENT ME!
 boolean precedes(ModifiedHinduLunarBRCalendar modhindulunarbr)
          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, getSuffix, 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.ModifiedHinduBRCalendar mh
DOCUMENT ME!


leapday

protected boolean leapday
DOCUMENT ME!

Constructor Detail

ModifiedHinduLunarBRCalendar

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

Parameters:
l - DOCUMENT ME!

ModifiedHinduLunarBRCalendar

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

Parameters:
altcalendar - DOCUMENT ME!

ModifiedHinduLunarBRCalendar

public ModifiedHinduLunarBRCalendar()
Creates a new ModifiedHinduLunarBRCalendar object.


ModifiedHinduLunarBRCalendar

public ModifiedHinduLunarBRCalendar(int i,
                                    boolean flag,
                                    int j,
                                    boolean flag1,
                                    int k)
Creates a new ModifiedHinduLunarBRCalendar 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(ModifiedHinduLunarBRCalendar modhindulunarbr)
DOCUMENT ME!

Parameters:
modhindulunarbr - 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!

main

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

Parameters:
args - DOCUMENT ME!