Index
All Classes|All Packages
A
- ABAN - com.github.mfathi91.time.PersianMonth
-
The singleton instance for the month of Aban with 30 days.
- AHS - com.github.mfathi91.time.PersianEra
-
The singleton instance for the current era, 'Anno Hegirae Solar', which has the numeric value 1.
- AZAR - com.github.mfathi91.time.PersianMonth
-
The singleton instance for the month of Azar with 30 days.
B
- BAHMAN - com.github.mfathi91.time.PersianMonth
-
The singleton instance for the month of Bahman with 30 days.
C
- com.github.mfathi91.time - package com.github.mfathi91.time
D
- date(int, int, int) - Method in class com.github.mfathi91.time.PersianChronology
-
Obtains a local date in this chronology from the proleptic-year, month-of-year and day-of-month fields.
- date(TemporalAccessor) - Method in class com.github.mfathi91.time.PersianChronology
-
Obtains a local date in this chronology from another temporal object.
- dateEpochDay(long) - Method in class com.github.mfathi91.time.PersianChronology
-
Obtains a local date in this chronology from the epoch-day.
- dateYearDay(int, int) - Method in class com.github.mfathi91.time.PersianChronology
-
Obtains a local date in this chronology from the proleptic-year and day-of-year fields.
- daysToFirstOfMonth() - Method in enum com.github.mfathi91.time.PersianMonth
-
Returns elapsed days from first of the year to first of this month.
- DEY - com.github.mfathi91.time.PersianMonth
-
The singleton instance for the month of Dey with 30 days.
E
- equals(Object) - Method in class com.github.mfathi91.time.PersianDate
-
Checks if this date is equal to another date.
- eraOf(int) - Method in class com.github.mfathi91.time.PersianChronology
-
Creates the chronology era object from the numeric value.
- eras() - Method in class com.github.mfathi91.time.PersianChronology
-
Gets the list of eras for the chronology.
- ESFAND - com.github.mfathi91.time.PersianMonth
-
The singleton instance for the month of Farvardin with 29 days in non-leap year and 30 days in leap year.
F
- FARVARDIN - com.github.mfathi91.time.PersianMonth
-
The singleton instance for the month of Farvardin with 31 days.
- from(TemporalAccessor) - Static method in class com.github.mfathi91.time.PersianDate
-
Obtains an instance of
PersianDatefrom a temporal object. - fromGregorian(LocalDate) - Static method in class com.github.mfathi91.time.PersianDate
-
Returns an instance of
PersianDatethat is correspondent to the gregorian date of parameterlocalDate.
G
- getCalendarType() - Method in class com.github.mfathi91.time.PersianChronology
-
Gets the calendar type of the Persian calendar.
- getChronology() - Method in class com.github.mfathi91.time.PersianDate
-
Gets the chronology of this date, which is the Persian calendar system.
- getDayOfMonth() - Method in class com.github.mfathi91.time.PersianDate
- getDayOfWeek() - Method in class com.github.mfathi91.time.PersianDate
-
Returns day-of-week as an enum
DayOfWeek. - getDayOfYear() - Method in class com.github.mfathi91.time.PersianDate
- getId() - Method in class com.github.mfathi91.time.PersianChronology
-
Gets the ID of the chronology.
- getLong(TemporalField) - Method in class com.github.mfathi91.time.PersianDate
-
Gets the value of the specified field from this date as a
long. - getMonth() - Method in class com.github.mfathi91.time.PersianDate
- getMonthValue() - Method in class com.github.mfathi91.time.PersianDate
- getPersianName() - Method in enum com.github.mfathi91.time.PersianMonth
-
Returns name of month in persian alphabe.
- getValue() - Method in enum com.github.mfathi91.time.PersianEra
-
Gets the numeric era
intvalue. - getValue() - Method in enum com.github.mfathi91.time.PersianMonth
- getYear() - Method in class com.github.mfathi91.time.PersianDate
H
- hashCode() - Method in class com.github.mfathi91.time.PersianDate
-
A hash code for this persian date.
I
- INSTANCE - Static variable in class com.github.mfathi91.time.PersianChronology
-
Single instance of this class.
- isLeapYear() - Method in class com.github.mfathi91.time.PersianDate
-
Returns true if
yearis a leap year in Persian calendar. - isLeapYear(int) - Static method in class com.github.mfathi91.time.PersianDate
-
Returns
trueif the given year is a leap year in Persian calendar. - isLeapYear(long) - Method in class com.github.mfathi91.time.PersianChronology
-
Returns true if
yearis a leap year in Persian calendar.
K
- KHORDAD - com.github.mfathi91.time.PersianMonth
-
The singleton instance for the month of Khordad with 31 days.
L
- length(boolean) - Method in enum com.github.mfathi91.time.PersianMonth
-
Returns length of month.
- lengthOfMonth() - Method in class com.github.mfathi91.time.PersianDate
-
Returns the length of the month represented by this date.
M
- MAX - Static variable in class com.github.mfathi91.time.PersianDate
-
The maximum supported persian date
1999-12-29. - maxLength() - Method in enum com.github.mfathi91.time.PersianMonth
-
Returns length of month in a leap year.
- MEHR - com.github.mfathi91.time.PersianMonth
-
The singleton instance for the month of Mehr with 30 days.
- MIN - Static variable in class com.github.mfathi91.time.PersianDate
-
The minimum supported persian date
0001-01-01. - minLength() - Method in enum com.github.mfathi91.time.PersianMonth
-
Returns length of month in a non-leap year.
- minus(long) - Method in enum com.github.mfathi91.time.PersianMonth
-
Returns a month-of-year that is
monthsbefore current month. - MORDAD - com.github.mfathi91.time.PersianMonth
-
The singleton instance for the month of Mordad with 31 days.
- MyUtils - Class in com.github.mfathi91.time
-
This class provides static helper methods, in order to remove boilerplate code.
N
- now() - Static method in class com.github.mfathi91.time.PersianDate
-
Obtains current Persian date from the system clock in the default time zone.
O
- of(int) - Static method in enum com.github.mfathi91.time.PersianEra
-
Obtains an instance of
PersianErafrom anintvalue. - of(int, int, int) - Static method in class com.github.mfathi91.time.PersianDate
-
Obtains an instance of
PersianDatewith year, month and day of month. - of(int, PersianMonth, int) - Static method in class com.github.mfathi91.time.PersianDate
-
Obtains an instance of
PersianDatewith year, month and day of month. - ofEpochDay(long) - Static method in class com.github.mfathi91.time.PersianDate
-
Returns an instance of
PersianDate, based on number of epoch days, which is from 1970-01-01. - ofJulianDays(long) - Static method in class com.github.mfathi91.time.PersianDate
-
Returns an instance of
PersianDate, based on number of julian days. - ORDIBEHESHT - com.github.mfathi91.time.PersianMonth
-
The singleton instance for the month of Ordibehesht with 31 days.
P
- parse(CharSequence) - Static method in class com.github.mfathi91.time.PersianDate
-
Obtains an instance of
PersianDatefrom a text, assuming its format isyyyy-MM-dd. - parse(CharSequence, DateTimeFormatter) - Static method in class com.github.mfathi91.time.PersianDate
-
Obtains an instance of
PersianDatefrom a text string using a specific formatter. - PersianChronology - Class in com.github.mfathi91.time
-
The Persian calendar (also known as Jalali calendar or Iranian calendar) is a solar calendar.
- PersianDate - Class in com.github.mfathi91.time
-
This is an implementation of Solar Hijri calendar (also known as Jalali calendar, Persian calendar).
- PersianEra - Enum in com.github.mfathi91.time
-
An era in the Persian calendar system.
- PersianMonth - Enum in com.github.mfathi91.time
-
A month-of-year, such as Mehr.
- plus(long) - Method in enum com.github.mfathi91.time.PersianMonth
-
Returns a month-of-year that is
monthsafter current month. - plusDays(long) - Method in class com.github.mfathi91.time.PersianDate
-
Returns a copy of this
PersianDatewith the specified number of days added. - plusMonths(long) - Method in class com.github.mfathi91.time.PersianDate
-
Returns a copy of this
PersianDatewith the specified period in months added. - plusYears(long) - Method in class com.github.mfathi91.time.PersianDate
-
Returns a copy of this
PersianDatewith the specified period in years added. - prolepticYear(Era, int) - Method in class com.github.mfathi91.time.PersianChronology
-
Calculates the proleptic-year given the era and year-of-era.
R
- range(ChronoField) - Method in class com.github.mfathi91.time.PersianChronology
-
Gets the range of valid values for the specified field.
- range(TemporalField) - Method in enum com.github.mfathi91.time.PersianEra
-
Gets the range of valid values for the specified field.
S
- SHAHRIVAR - com.github.mfathi91.time.PersianMonth
-
The singleton instance for the month of Shahrivar with 31 days.
T
- TIR - com.github.mfathi91.time.PersianMonth
-
The singleton instance for the month of Tir with 31 days.
- toEpochDay() - Method in class com.github.mfathi91.time.PersianDate
- toGregorian() - Method in class com.github.mfathi91.time.PersianDate
-
Returns an equivalent Gregorian date and time as an instance of
LocalDate. - toJulianDay() - Method in class com.github.mfathi91.time.PersianDate
-
Returns number of corresponding julian days.
- toString() - Method in class com.github.mfathi91.time.PersianDate
-
Returns the string representation of this persian date.
U
- until(ChronoLocalDate) - Method in class com.github.mfathi91.time.PersianDate
-
Calculates the period between this date and another date as a
Period. - until(Temporal, TemporalUnit) - Method in class com.github.mfathi91.time.PersianDate
-
Calculates the amount of time until another date in terms of the specified unit.
V
- valueOf(String) - Static method in enum com.github.mfathi91.time.PersianEra
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.github.mfathi91.time.PersianMonth
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.github.mfathi91.time.PersianEra
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.github.mfathi91.time.PersianMonth
-
Returns an array containing the constants of this enum type, in the order they are declared.
All Classes|All Packages