A B C D E F G I J K M O P S T Y

A

ABAN - Static variable in interface com.ghasemkiani.util.PersianCalendarConstants
Constant for Aban, the 8th month of the Persian year.
AH - Static variable in class com.ghasemkiani.util.icu.PersianCalendar
After Hijra Era.
AZAR - Static variable in interface com.ghasemkiani.util.PersianCalendarConstants
Constant for Azar, the 9th month of the Persian year.
add(int, int) - Method in class com.ghasemkiani.util.icu.PersianCalendar
Adds the specified amount to the specified field of this calendar.

B

BAHMAN - Static variable in interface com.ghasemkiani.util.PersianCalendarConstants
Constant for Bahman, the 11th month of the Persian year.
BH - Static variable in class com.ghasemkiani.util.icu.PersianCalendar
Before Hijra Era.

C

com.ghasemkiani.util - package com.ghasemkiani.util
 
com.ghasemkiani.util.icu - package com.ghasemkiani.util.icu
 

D

DEY - Static variable in interface com.ghasemkiani.util.PersianCalendarConstants
Constant for Dey, the 10th month of the Persian year.
DateFields - class com.ghasemkiani.util.DateFields.
This class holds the fields of Persian date, i.e., the Persian year, month, and day.
DateFields() - Constructor for class com.ghasemkiani.util.DateFields
Constructs a DateFields object with the date fields initialized to 0.
DateFields(int, int, int) - Constructor for class com.ghasemkiani.util.DateFields
Constructs a DateFields object with the given date fields.
d(long) - Static method in class com.ghasemkiani.util.PersianCalendarUtils
Extracts the day from a packed long value.
div(double, double) - Static method in class com.ghasemkiani.util.PersianCalendarUtils
An integer division function suitable for our purpose.

E

EPOCH - Static variable in class com.ghasemkiani.util.PersianCalendarUtils
Julian day corresponding to 1 Farvardin 1 A.H., corresponding to March 19, 622 A.D. by the Julian version of the Gregorian calendar.
ESFAND - Static variable in interface com.ghasemkiani.util.PersianCalendarConstants
Constant for Esfand, the 12th month of the Persian year.

F

FARVARDIN - Static variable in interface com.ghasemkiani.util.PersianCalendarConstants
Constant for Farvardin, the 1st month of the Persian year.

G

getDateFields() - Method in class com.ghasemkiani.util.SimplePersianCalendar
Retrieves the date of this calendar object as the Persian date fields
getDay() - Method in class com.ghasemkiani.util.DateFields
Accessor method to get the value of day.
getJulianDay() - Method in class com.ghasemkiani.util.SimplePersianCalendar
Get the Julian day corresponding to the date of this calendar.
getMonth() - Method in class com.ghasemkiani.util.DateFields
Accessor method to get the value of month.
getPersianMonthName(int) - Static method in class com.ghasemkiani.util.SimplePersianCalendar
Gives the name of the specified Persian month.
getPersianMonthName() - Method in class com.ghasemkiani.util.SimplePersianCalendar
Gives the name of the current Persian month for this calendar's date.
getPersianWeekDayName(int) - Static method in class com.ghasemkiani.util.SimplePersianCalendar
Gives the Persian name of the specified day of week.
getPersianWeekDayName() - Method in class com.ghasemkiani.util.SimplePersianCalendar
Gives the Persian name of the current day of the week for this calendar's date.
getType() - Method in class com.ghasemkiani.util.icu.PersianCalendar
Type of this calendar.
getYear() - Method in class com.ghasemkiani.util.DateFields
Accessor method to get the value of year.

I

isLeapYear(long) - Static method in class com.ghasemkiani.util.PersianCalendarHelper
Determines if the specified year is a leap year in the Persian calendar.
isLeapYear(long) - Static method in class com.ghasemkiani.util.PersianCalendarHelper1
Determines if the specified year is a leap year in the Persian calendar.

J

jp(long) - Static method in class com.ghasemkiani.util.PersianCalendarHelper
Returns the date in the Persian calendar corresponding to the specified Julian day.
jp(long) - Static method in class com.ghasemkiani.util.PersianCalendarHelper1
Returns the date in the Persian calendar corresponding to the specified Julian day.

K

KHORDAD - Static variable in interface com.ghasemkiani.util.PersianCalendarConstants
Constant for Khordad, the 3rd month of the Persian year.

M

MEHR - Static variable in interface com.ghasemkiani.util.PersianCalendarConstants
Constant for Mehr, the 7th month of the Persian year.
MORDAD - Static variable in interface com.ghasemkiani.util.PersianCalendarConstants
Constant for Mordad, the 5th month of the Persian year.
m(long) - Static method in class com.ghasemkiani.util.PersianCalendarUtils
Extracts the month from a packed long value.
mod(double, double) - Static method in class com.ghasemkiani.util.PersianCalendarUtils
A modulo function suitable for our purpose.

O

ORDIBEHESHT - Static variable in interface com.ghasemkiani.util.PersianCalendarConstants
Constant for Ordibehesht, the 2nd month of the Persian year.

P

PersianCalendar - class com.ghasemkiani.util.icu.PersianCalendar.
This is an arithmetic implementation of the Persian Calendar (also known as the Iranian or Jalali Calendar) based on the calendar framework of ICU4J (IBM's International Components for Unicode for Java), version 3.2.
PersianCalendar() - Constructor for class com.ghasemkiani.util.icu.PersianCalendar
Constructs a Persian calendar with the default time zone and locale.
PersianCalendar(TimeZone) - Constructor for class com.ghasemkiani.util.icu.PersianCalendar
Constructs a Persian calendar with the specified time zone and the default locale.
PersianCalendar(Locale) - Constructor for class com.ghasemkiani.util.icu.PersianCalendar
Constructs a Persian calendar with the default time zone and the specified locale.
PersianCalendar(ULocale) - Constructor for class com.ghasemkiani.util.icu.PersianCalendar
Constructs a Persian calendar with the default time zone and the specified locale.
PersianCalendar(TimeZone, Locale) - Constructor for class com.ghasemkiani.util.icu.PersianCalendar
Constructs a Persian calendar with the specified time zone and locale.
PersianCalendar(TimeZone, ULocale) - Constructor for class com.ghasemkiani.util.icu.PersianCalendar
Constructs a Persian calendar with the specified time zone and locale.
PersianCalendar(Date) - Constructor for class com.ghasemkiani.util.icu.PersianCalendar
Constructs a Persian calendar with the default time zone and locale and sets its time to the specified date-time.
PersianCalendar(int, int, int) - Constructor for class com.ghasemkiani.util.icu.PersianCalendar
Constructs a Persian calendar with the default time zone and locale and sets its time to the specified date.
PersianCalendar(int, int, int, int, int, int) - Constructor for class com.ghasemkiani.util.icu.PersianCalendar
Constructs a Persian calendar with the default time zone and locale and sets its time to the specified time.
PersianCalendarConstants - interface com.ghasemkiani.util.PersianCalendarConstants.
This class contains some constants used in other Persian Calendar classes.
PersianCalendarHelper - class com.ghasemkiani.util.PersianCalendarHelper.
This class contains algorithms for converting Julian days to the Persian calendar system, and vice versa.
PersianCalendarHelper() - Constructor for class com.ghasemkiani.util.PersianCalendarHelper
 
PersianCalendarHelper1 - class com.ghasemkiani.util.PersianCalendarHelper1.
This class is an illustration of the algorithm used for calculation of leap years in the arithmetic version of the Persian calendar system.
PersianCalendarHelper1() - Constructor for class com.ghasemkiani.util.PersianCalendarHelper1
 
PersianCalendarUtils - class com.ghasemkiani.util.PersianCalendarUtils.
This class contains some utility functions and constants used by other Persian Calendar classes.
PersianCalendarUtils() - Constructor for class com.ghasemkiani.util.PersianCalendarUtils
 
PersianDateFormat - class com.ghasemkiani.util.icu.PersianDateFormat.
This class is used for formatting dates in the Persian calendar system.
PersianDateFormat() - Constructor for class com.ghasemkiani.util.icu.PersianDateFormat
Creates a PersianDateFormat with the default pattern and locale.
PersianDateFormat(String) - Constructor for class com.ghasemkiani.util.icu.PersianDateFormat
Creates a PersianDateFormat with the specified pattern and the default locale.
PersianDateFormat(String, Locale) - Constructor for class com.ghasemkiani.util.icu.PersianDateFormat
Creates a PersianDateFormat with the specified pattern and locale.
PersianDateFormat(String, ULocale) - Constructor for class com.ghasemkiani.util.icu.PersianDateFormat
Creates a PersianDateFormat with the specified pattern and locale.
PersianDateFormatSymbols - class com.ghasemkiani.util.icu.PersianDateFormatSymbols.
This class uses a resource bundle to extract localized names of the Persian calendar eras and months.
PersianDateFormatSymbols() - Constructor for class com.ghasemkiani.util.icu.PersianDateFormatSymbols
Creates a PersianDateFormatSymbols for the default locale.
PersianDateFormatSymbols(ULocale) - Constructor for class com.ghasemkiani.util.icu.PersianDateFormatSymbols
Creates a PersianDateFormatSymbols for the specified locale.
PersianDateFormatSymbols(Locale) - Constructor for class com.ghasemkiani.util.icu.PersianDateFormatSymbols
Creates a PersianDateFormatSymbols for the specified locale.
persianMonths - Static variable in class com.ghasemkiani.util.SimplePersianCalendar
Persian month names.
persianWeekDays - Static variable in class com.ghasemkiani.util.SimplePersianCalendar
Persian week day names.
pj(long, int, int) - Static method in class com.ghasemkiani.util.PersianCalendarHelper
Returns the Julian day corresponding to the specified date in the Persian calendar.
pj(long, int, int) - Static method in class com.ghasemkiani.util.PersianCalendarHelper1
Returns the Julian day corresponding to the specified day in the Persian calendar.

S

SHAHRIVAR - Static variable in interface com.ghasemkiani.util.PersianCalendarConstants
Constant for Shahrivar, the 6th month of the Persian year.
SimplePersianCalendar - class com.ghasemkiani.util.SimplePersianCalendar.
This class is a subclass of java.util.GregorianCalendar, with the added functionality that it can set/get date in the Persian calendar system.
SimplePersianCalendar() - Constructor for class com.ghasemkiani.util.SimplePersianCalendar
 
setDateFields(int, int, int) - Method in class com.ghasemkiani.util.SimplePersianCalendar
Sets the date of this calendar object to the specified Persian date (year, month, and day fields)
setDateFields(DateFields) - Method in class com.ghasemkiani.util.SimplePersianCalendar
Sets the date of this calendar object to the specified Persian date fields
setDay(int) - Method in class com.ghasemkiani.util.DateFields
Accessor method to assign a new value to day.
setJulianDay(long) - Method in class com.ghasemkiani.util.SimplePersianCalendar
Set the date of this calendar to the specified Julian day.
setMonth(int) - Method in class com.ghasemkiani.util.DateFields
Accessor method to assign a new value to month.
setYear(int) - Method in class com.ghasemkiani.util.DateFields
Accessor method to assign a new value to year.

T

TIR - Static variable in interface com.ghasemkiani.util.PersianCalendarConstants
Constant for Tir, the 4th month of the Persian year.
toString() - Method in class com.ghasemkiani.util.DateFields
This method returns a usable string representation of this object.

Y

y(long) - Static method in class com.ghasemkiani.util.PersianCalendarUtils
Extracts the year from a packed long value.

A B C D E F G I J K M O P S T Y