| Modifier and Type | Method and Description |
|---|---|
PersianMonth |
PersianDate.getMonth() |
PersianMonth |
PersianMonth.minus(long months)
Returns a month-of-year that is
months before current month. |
PersianMonth |
PersianMonth.plus(long months)
Returns a month-of-year that is
months after current month. |
static PersianMonth |
PersianMonth.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PersianMonth[] |
PersianMonth.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static PersianDate |
PersianDate.of(int year,
PersianMonth month,
int dayOfMonth)
Obtains an instance of
PersianDate with year, month and day of month. |
static PersianDateTime |
PersianDateTime.of(int year,
PersianMonth month,
int dayOfMonth,
int hour,
int minute)
Obtains an instance of
PersianDateTime with the given parameters, having second and nanosecond set to
zero. |
static PersianDateTime |
PersianDateTime.of(int year,
PersianMonth month,
int dayOfMonth,
int hour,
int minute,
int second)
Obtains an instance of
PersianDateTime with the given parameters, having nanosecond set to zero. |
static PersianDateTime |
PersianDateTime.of(int year,
PersianMonth month,
int dayOfMonth,
int hour,
int minute,
int second,
int nanoOfSecond)
Obtains an instance of
PersianDateTime with the given parameters. |
Copyright © 2021. All rights reserved.