public class PersianCalendarHelper extends Object
| Constructor and Description |
|---|
PersianCalendarHelper() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isLeapYear(long year)
Determines if the specified year is a leap year in the Persian calendar.
|
static long |
jp(long j)
Returns the date in the Persian calendar corresponding to the specified Julian day.
|
static long |
pj(long y,
int m,
int d)
Returns the Julian day corresponding to the specified date in the Persian calendar.
|
public static boolean isLeapYear(long year)
year - the "Persian" year.true if year is a leap year, false otherwise.public static long pj(long y,
int m,
int d)
y - the Persian year.m - the Persian month.d - the Persian day.public static long jp(long j)
PersianCalendarUtils
class for extraction of fields from the packed long value.j - the Julian day.Copyright © 2015. All Rights Reserved.