Class Util
java.lang.Object
com.sun.msv.datatype.xsd.datetime.Util
date/time-related utility functions/variables.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final int[]
protected static final BigDecimal
protected static final Integer
protected static final BigInteger
protected static final BigInteger
protected static final BigInteger
protected static final BigInteger
number of minutes in 400 years.protected static final BigInteger
protected static final BigInteger
protected static final BigInteger
protected static final BigInteger
protected static TimeZone
protected static TimeZone
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static BigInteger
int2bi
(int v) creates BigInteger that corresponds with vprotected static BigInteger
static int
maximumDayInMonthFor
(int year, int month) static int
maximumDayInMonthFor
(BigInteger year, int month) protected static int
objCompare
(Comparable o1, Comparable o2) compares two Comparable objects (possibly null) and returns one ofComparator
constant.protected static boolean
compare two objectsprotected static int
-
Field Details
-
the4
-
the10
-
the12
-
the24
-
the60
-
the100
-
the400
-
the210379680
number of minutes in 400 years. -
decimal0
-
int0
-
timeZonePos14
-
timeZoneNeg14
-
dayInMonth
private static final int[] dayInMonth
-
-
Constructor Details
-
Util
Util()
-
-
Method Details
-
objEqual
compare two objects- Returns:
- true
- if both are null
- if both are non-null and o1.equals(o2)
-
objHashCode
-
objCompare
compares two Comparable objects (possibly null) and returns one ofComparator
constant. -
int2bi
creates BigInteger that corresponds with v -
int2bi
-
maximumDayInMonthFor
public static int maximumDayInMonthFor(int year, int month) -
maximumDayInMonthFor
-