class Util
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static int[] |
dayInMonth |
protected static java.math.BigDecimal |
decimal0 |
protected static java.lang.Integer |
int0 |
protected static java.math.BigInteger |
the10 |
protected static java.math.BigInteger |
the100 |
protected static java.math.BigInteger |
the12 |
protected static java.math.BigInteger |
the210379680
number of minutes in 400 years.
|
protected static java.math.BigInteger |
the24 |
protected static java.math.BigInteger |
the4 |
protected static java.math.BigInteger |
the400 |
protected static java.math.BigInteger |
the60 |
protected static java.util.TimeZone |
timeZoneNeg14 |
protected static java.util.TimeZone |
timeZonePos14 |
Constructor and Description |
---|
Util() |
Modifier and Type | Method and Description |
---|---|
protected static java.math.BigInteger |
int2bi(int v)
creates BigInteger that corresponds with v
|
protected static java.math.BigInteger |
int2bi(java.lang.Integer v) |
static int |
maximumDayInMonthFor(java.math.BigInteger year,
int month) |
static int |
maximumDayInMonthFor(int year,
int month) |
protected static int |
objCompare(java.lang.Comparable o1,
java.lang.Comparable o2)
compares two Comparable objects (possibly null) and returns
one of
Comparator constant. |
protected static boolean |
objEqual(java.lang.Object o1,
java.lang.Object o2)
compare two objects
|
protected static int |
objHashCode(java.lang.Object o) |
protected static final java.math.BigInteger the4
protected static final java.math.BigInteger the10
protected static final java.math.BigInteger the12
protected static final java.math.BigInteger the24
protected static final java.math.BigInteger the60
protected static final java.math.BigInteger the100
protected static final java.math.BigInteger the400
protected static final java.math.BigInteger the210379680
protected static final java.math.BigDecimal decimal0
protected static final java.lang.Integer int0
protected static java.util.TimeZone timeZonePos14
protected static java.util.TimeZone timeZoneNeg14
private static final int[] dayInMonth
protected static boolean objEqual(java.lang.Object o1, java.lang.Object o2)
protected static int objHashCode(java.lang.Object o)
protected static int objCompare(java.lang.Comparable o1, java.lang.Comparable o2)
Comparator
constant.protected static java.math.BigInteger int2bi(int v)
protected static java.math.BigInteger int2bi(java.lang.Integer v)
public static int maximumDayInMonthFor(int year, int month)
public static int maximumDayInMonthFor(java.math.BigInteger year, int month)