org.jscience.history.calendars
Class PersianCalendar

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

public class PersianCalendar
extends MonthDayYear

DOCUMENT ME!


Field Summary
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
PersianCalendar()
          Creates a new PersianCalendar object.
PersianCalendar(AlternateCalendar altcalendar)
          Creates a new PersianCalendar object.
PersianCalendar(int i, int j, int k)
          Creates a new PersianCalendar object.
PersianCalendar(long l)
          Creates a new PersianCalendar object.
 
Method Summary
 java.util.Enumeration getMonths()
          DOCUMENT ME!
protected  java.lang.String getSuffix()
          DOCUMENT ME!
static boolean isLeapYear(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!
 
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

public static long EPOCH
DOCUMENT ME!

Constructor Detail

PersianCalendar

public PersianCalendar()
Creates a new PersianCalendar object.


PersianCalendar

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

Parameters:
l - DOCUMENT ME!

PersianCalendar

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

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

PersianCalendar

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

Parameters:
altcalendar - DOCUMENT ME!
Method Detail

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!

isLeapYear

public static boolean isLeapYear(int i)
DOCUMENT ME!

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