public class IslamicDate extends AbstractDate
Constructor and Description |
---|
IslamicDate(int year,
int month,
int day) |
Modifier and Type | Method and Description |
---|---|
IslamicDate |
clone() |
int |
getDayOfMonth() |
int |
getDayOfWeek() |
int |
getDayOfYear() |
java.lang.String |
getEvent()
Returns a string specifying the event of this date, or null if there are
no events for this year.
|
int |
getMonth() |
int |
getWeekOfMonth() |
int |
getWeekOfYear() |
int |
getYear() |
boolean |
isLeapYear() |
void |
rollDay(int amount,
boolean up) |
void |
rollMonth(int amount,
boolean up) |
void |
rollYear(int amount,
boolean up) |
void |
setDayOfMonth(int day) |
void |
setMonth(int month) |
void |
setYear(int year) |
setDate
public int getDayOfMonth()
getDayOfMonth
in class AbstractDate
public void setDayOfMonth(int day)
setDayOfMonth
in class AbstractDate
public int getDayOfWeek()
getDayOfWeek
in class AbstractDate
public int getMonth()
getMonth
in class AbstractDate
public void setMonth(int month)
setMonth
in class AbstractDate
public int getWeekOfYear()
getWeekOfYear
in class AbstractDate
public int getYear()
getYear
in class AbstractDate
public void setYear(int year)
setYear
in class AbstractDate
public void rollDay(int amount, boolean up)
rollDay
in class AbstractDate
public void rollMonth(int amount, boolean up)
rollMonth
in class AbstractDate
public void rollYear(int amount, boolean up)
rollYear
in class AbstractDate
public java.lang.String getEvent()
AbstractDate
getEvent
in class AbstractDate
public int getDayOfYear()
getDayOfYear
in class AbstractDate
public int getWeekOfMonth()
getWeekOfMonth
in class AbstractDate
public boolean isLeapYear()
isLeapYear
in class AbstractDate
public IslamicDate clone()
clone
in class AbstractDate