| Modifier and Type | Field and Description |
|---|---|
static PersianDate |
PersianDate.MAX
The minimum supported persian date.
|
static PersianDate |
PersianDate.MIN
The maximum supported persian date.
|
| Modifier and Type | Method and Description |
|---|---|
static PersianDate |
PersianDate.gregorianToPersian(LocalDate ld)
Returns an equivalent Persian date and time as an instance of
PersianDate. |
static PersianDate |
PersianDate.now()
Obtains current Persian date from the system clock in the default time zone.
|
static PersianDate |
PersianDate.of(int year,
int month,
int dayOfMonth)
Obtains an instance of
PersianDate with year, month, day of month, hour,
minute and second. |
static PersianDate |
PersianDate.of(int year,
PersianMonth month,
int dayOfMonth)
Obtains an instance of
PersianDate with year, month, day of month, hour,
minute and second. |
| Modifier and Type | Method and Description |
|---|---|
int |
PersianDate.compareTo(PersianDate other)
Compares this persian date to another persian date.
|
boolean |
PersianDate.isAfter(PersianDate other)
Checks whether this persian date is after the specified persian date.
|
boolean |
PersianDate.isBefore(PersianDate other)
Checks whether this persian date is before the specified persian date.
|
boolean |
PersianDate.isEqual(PersianDate other)
Checks whether this persian date has the same date with the specified persian date.
|
Copyright © 2017. All rights reserved.