Skip navigation links
C D E G H I L M N O P T V 

C

com.github.mfathi91 - package com.github.mfathi91
 
compareTo(PersianDate) - Method in class com.github.mfathi91.PersianDate
Compares this persian date to another persian date.

D

daysToFirstOfMonth() - Method in enum com.github.mfathi91.PersianMonth
Returns elapsed days from first of the year to first of this month.

E

equals(Object) - Method in class com.github.mfathi91.PersianDate
Checks if this date is equal to another date.

G

getDayOfMonth() - Method in class com.github.mfathi91.PersianDate
 
getDayOfWeek() - Method in class com.github.mfathi91.PersianDate
Returns day-of-week as an enum DayOfWeek.
getDayOfYear() - Method in class com.github.mfathi91.PersianDate
 
getMonth() - Method in class com.github.mfathi91.PersianDate
 
getMonthValue() - Method in class com.github.mfathi91.PersianDate
 
getPersianName() - Method in enum com.github.mfathi91.PersianMonth
Returns name of month in persian alphabe.
getValue() - Method in enum com.github.mfathi91.PersianMonth
 
getYear() - Method in class com.github.mfathi91.PersianDate
 
gregorianToPersian(LocalDate) - Static method in class com.github.mfathi91.PersianDate
Returns an equivalent Persian date and time as an instance of PersianDate.

H

hashCode() - Method in class com.github.mfathi91.PersianDate
A hash code for this persian date.

I

intRequirePositive(int, String) - Static method in class com.github.mfathi91.MyUtils
Checks whether an integer is greater than zero or not.
intRequireRange(int, int, int, String) - Static method in class com.github.mfathi91.MyUtils
Checks whether an integer is in a range or not.
isAfter(PersianDate) - Method in class com.github.mfathi91.PersianDate
Checks whether this persian date is after the specified persian date.
isBefore(PersianDate) - Method in class com.github.mfathi91.PersianDate
Checks whether this persian date is before the specified persian date.
isBetween(int, int, int) - Static method in class com.github.mfathi91.MyUtils
Returns true if and only if val is greater than or equal to lowerLimit and is less than or equal to upperLimit.
isEqual(PersianDate) - Method in class com.github.mfathi91.PersianDate
Checks whether this persian date has the same date with the specified persian date.
isLeapYear() - Method in class com.github.mfathi91.PersianDate
Returns true if year is a leap year in Persian calendar.
isLeapYear(int) - Static method in class com.github.mfathi91.PersianDate
Returns true if year is a leap year in Persian calendar.

L

length(boolean) - Method in enum com.github.mfathi91.PersianMonth
Returns length of month.

M

MAX - Static variable in class com.github.mfathi91.PersianDate
The minimum supported persian date.
maxLength() - Method in enum com.github.mfathi91.PersianMonth
Returns length of month in a leap year.
MIN - Static variable in class com.github.mfathi91.PersianDate
The maximum supported persian date.
minLength() - Method in enum com.github.mfathi91.PersianMonth
Returns length of month in a non-leap year.
minus(long) - Method in enum com.github.mfathi91.PersianMonth
Returns a month-of-year that is months before current month.
MyUtils - Class in com.github.mfathi91
This class provides static helper methods, in order to remove boilerplate code.

N

now() - Static method in class com.github.mfathi91.PersianDate
Obtains current Persian date from the system clock in the default time zone.

O

of(int, int, int) - Static method in class com.github.mfathi91.PersianDate
Obtains an instance of PersianDate with year, month, day of month, hour, minute and second.
of(int, PersianMonth, int) - Static method in class com.github.mfathi91.PersianDate
Obtains an instance of PersianDate with year, month, day of month, hour, minute and second.

P

PersianDate - Class in com.github.mfathi91
This is an implementation of Solar Hijri calendar (also known as Jalali calendar, Persian calendar).
PersianMonth - Enum in com.github.mfathi91
A month-of-year, such as Mehr.
plus(long) - Method in enum com.github.mfathi91.PersianMonth
Returns a month-of-year that is months after current month.

T

toGregorian() - Method in class com.github.mfathi91.PersianDate
Returns an equivalent Gregorian date and time as an instance of LocalDate.
toString() - Method in class com.github.mfathi91.PersianDate
Returns the string representation of this persian date.

V

valueOf(String) - Static method in enum com.github.mfathi91.PersianMonth
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.github.mfathi91.PersianMonth
Returns an array containing the constants of this enum type, in the order they are declared.
C D E G H I L M N O P T V 
Skip navigation links

Copyright © 2017. All rights reserved.