org.jscience.history.calendars
Class HebrewCalendar

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

public class HebrewCalendar
extends MonthDayYear

DOCUMENT ME!


Field Summary
protected static long EPOCH
          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
HebrewCalendar()
          Creates a new HebrewCalendar object.
HebrewCalendar(AlternateCalendar altcalendar)
          Creates a new HebrewCalendar object.
HebrewCalendar(int i, int j, int k)
          Creates a new HebrewCalendar object.
HebrewCalendar(long l)
          Creates a new HebrewCalendar object.
 
Method Summary
protected static int daysInYear(int i)
          DOCUMENT ME!
protected static int delay(int i)
          DOCUMENT ME!
protected static long elapsedDays(int i)
          DOCUMENT ME!
 java.util.Enumeration getMonths()
          DOCUMENT ME!
protected  java.lang.String getSuffix()
          DOCUMENT ME!
static boolean isLeapYear(int i)
          DOCUMENT ME!
protected static int lastDay(int i, int j)
          DOCUMENT ME!
static int lastMonth(int i)
          DOCUMENT ME!
protected static boolean longHeshvan(int i)
          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(long l)
          DOCUMENT ME!
protected static boolean shortKislev(int i)
          DOCUMENT ME!
 
Methods inherited from class org.jscience.history.calendars.MonthDayYear
getDay, getMonth, getYear, set, 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!

Constructor Detail

HebrewCalendar

public HebrewCalendar()
Creates a new HebrewCalendar object.


HebrewCalendar

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

Parameters:
l - DOCUMENT ME!

HebrewCalendar

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

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

HebrewCalendar

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

Parameters:
altcalendar - DOCUMENT ME!
Method Detail

isLeapYear

public static boolean isLeapYear(int i)
DOCUMENT ME!

Parameters:
i - DOCUMENT ME!
Returns:
DOCUMENT ME!

lastMonth

public static int lastMonth(int i)
DOCUMENT ME!

Parameters:
i - DOCUMENT ME!
Returns:
DOCUMENT ME!

elapsedDays

protected static long elapsedDays(int i)
DOCUMENT ME!

Parameters:
i - DOCUMENT ME!
Returns:
DOCUMENT ME!

delay

protected static int delay(int i)
DOCUMENT ME!

Parameters:
i - DOCUMENT ME!
Returns:
DOCUMENT ME!

lastDay

protected static int lastDay(int i,
                             int j)
DOCUMENT ME!

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

longHeshvan

protected static boolean longHeshvan(int i)
DOCUMENT ME!

Parameters:
i - DOCUMENT ME!
Returns:
DOCUMENT ME!

shortKislev

protected static boolean shortKislev(int i)
DOCUMENT ME!

Parameters:
i - DOCUMENT ME!
Returns:
DOCUMENT ME!

daysInYear

protected static int daysInYear(int i)
DOCUMENT ME!

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

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!