Skip navigation links
A C D E F G H I L M N O P R T U V W 

A

atZone(ZoneId) - Method in class com.github.mfathi91.time.PersianDateTime
 

C

com.github.mfathi91.time - package com.github.mfathi91.time
 
compareTo(ChronoLocalDateTime<?>) - Method in class com.github.mfathi91.time.PersianDateTime
 

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.

E

equals(Object) - Method in class com.github.mfathi91.time.PersianDate
Checks if this date is equal to another date.
equals(Object) - Method in class com.github.mfathi91.time.PersianDateTime
 
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.

F

from(TemporalAccessor) - Static method in class com.github.mfathi91.time.PersianDate
Obtains an instance of PersianDate from a temporal object.
from(TemporalAccessor) - Static method in class com.github.mfathi91.time.PersianDateTime
Obtains an instance of this class from the given temporal object.
fromGregorian(LocalDate) - Static method in class com.github.mfathi91.time.PersianDate
Returns an instance of PersianDate that is correspondent to the gregorian date of parameter localDate.
fromGregorian(LocalDateTime) - Static method in class com.github.mfathi91.time.PersianDateTime
Returns a new instance of Persian date-time, where the date part of the given date-time gets converted to Persian date, and the time part of the returned date-time will remain unchanged.

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.
getLong(TemporalField) - Method in class com.github.mfathi91.time.PersianDateTime
Returns the long value of this date-time for the given temporal field.
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 int value.
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.
hashCode() - Method in class com.github.mfathi91.time.PersianDateTime
 

I

INSTANCE - Static variable in class com.github.mfathi91.time.PersianChronology
Single instance of this class.
isLeapYear(long) - Method in class com.github.mfathi91.time.PersianChronology
Returns true if year is a leap year in Persian calendar.
isLeapYear() - Method in class com.github.mfathi91.time.PersianDate
Returns true if year is a leap year in Persian calendar.
isLeapYear(int) - Static method in class com.github.mfathi91.time.PersianDate
Returns true if the given year is a leap year in Persian calendar.
isSupported(TemporalField) - Method in class com.github.mfathi91.time.PersianDateTime
 

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.
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 months before current month.
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.
now() - Static method in class com.github.mfathi91.time.PersianDateTime
Returns an instance of this class with the actual current date and time.

O

of(int, int, int) - Static method in class com.github.mfathi91.time.PersianDate
Obtains an instance of PersianDate with year, month and day of month.
of(int, PersianMonth, int) - Static method in class com.github.mfathi91.time.PersianDate
Obtains an instance of PersianDate with year, month and day of month.
of(PersianDate, LocalTime) - Static method in class com.github.mfathi91.time.PersianDateTime
Obtains a new instance of this class with the given date and time.
of(int, PersianMonth, int, int, int) - Static method in class com.github.mfathi91.time.PersianDateTime
Obtains an instance of PersianDateTime with the given parameters, having second and nanosecond set to zero.
of(int, PersianMonth, int, int, int, int) - Static method in class com.github.mfathi91.time.PersianDateTime
Obtains an instance of PersianDateTime with the given parameters, having nanosecond set to zero.
of(int, PersianMonth, int, int, int, int, int) - Static method in class com.github.mfathi91.time.PersianDateTime
Obtains an instance of PersianDateTime with the given parameters.
of(int, int, int, int, int) - Static method in class com.github.mfathi91.time.PersianDateTime
Obtains an instance of PersianDateTime with the given parameters, having second and nanosecond set to zero.
of(int, int, int, int, int, int) - Static method in class com.github.mfathi91.time.PersianDateTime
Obtains an instance of PersianDateTime with the given parameters, having nanosecond set to zero.
of(int, int, int, int, int, int, int) - Static method in class com.github.mfathi91.time.PersianDateTime
Obtains an instance of PersianDateTime with the given parameters.
of(int) - Static method in enum com.github.mfathi91.time.PersianEra
Obtains an instance of PersianEra from an int value.
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.

P

parse(CharSequence) - Static method in class com.github.mfathi91.time.PersianDate
Obtains an instance of PersianDate from a text, assuming its format is yyyy-MM-dd.
parse(CharSequence, DateTimeFormatter) - Static method in class com.github.mfathi91.time.PersianDate
Obtains an instance of PersianDate from a text string using a specific formatter.
parse(CharSequence) - Static method in class com.github.mfathi91.time.PersianDateTime
Parses the given string into its corresponding Persian date-time.
parse(CharSequence, DateTimeFormatter) - Static method in class com.github.mfathi91.time.PersianDateTime
Parses the given string with the given formatter into its corresponding Persian date-time.
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).
PersianDateTime - Class in com.github.mfathi91.time
A wrapper class for PersianDate and LocalTime to encapsulate these classes in one class for the sake of simplicity and convenience.
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, TemporalUnit) - Method in class com.github.mfathi91.time.PersianDateTime
 
plus(long) - Method in enum com.github.mfathi91.time.PersianMonth
Returns a month-of-year that is months after current month.
plusDays(long) - Method in class com.github.mfathi91.time.PersianDate
Returns a copy of this PersianDate with the specified number of days added.
plusMonths(long) - Method in class com.github.mfathi91.time.PersianDate
Returns a copy of this PersianDate with the specified period in months added.
plusYears(long) - Method in class com.github.mfathi91.time.PersianDate
Returns a copy of this PersianDate with 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.

T

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.
toGregorian() - Method in class com.github.mfathi91.time.PersianDateTime
Returns the corresponding Gregorian date-time of this Persian date-time.
toJulianDay() - Method in class com.github.mfathi91.time.PersianDate
Returns number of corresponding julian days.
toLocalDate() - Method in class com.github.mfathi91.time.PersianDateTime
Returns the date part of this date-time.
toLocalTime() - Method in class com.github.mfathi91.time.PersianDateTime
Returns the time part of this date-time.
toString() - Method in class com.github.mfathi91.time.PersianDate
Returns the string representation of this persian date.
toString() - Method in class com.github.mfathi91.time.PersianDateTime
Returns the string representation of this date-time.

U

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

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.

W

with(TemporalField, long) - Method in class com.github.mfathi91.time.PersianDateTime
 
A C D E F G H I L M N O P R T U V W 
Skip navigation links

Copyright © 2021. All rights reserved.