public class JCalendarUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static long |
DAY |
static long |
HOUR |
static long |
MINUTE |
static long |
MONTH |
static long |
SECOND |
Constructor and Description |
---|
JCalendarUtil() |
Modifier and Type | Method and Description |
---|---|
static long |
getDaysBetween(java.util.Calendar startTimeJCalendar,
java.util.Calendar endTimeJCalendar) |
static int |
getDSTShift(java.util.Calendar jCalendar1,
java.util.Calendar jCalendar2,
java.util.TimeZone timeZone) |
static java.util.Calendar |
getJCalendar(java.util.Calendar jCalendar,
java.util.TimeZone timeZone) |
static java.util.Calendar |
getJCalendar(int year,
int month,
int day,
int hour,
int minutes,
int seconds,
int milliseconds,
java.util.TimeZone timeZone) |
static java.util.Calendar |
getJCalendar(long time) |
static java.util.Calendar |
getJCalendar(long time,
java.util.TimeZone timeZone) |
static int |
getTimeZoneOffset(java.util.TimeZone timeZone) |
static boolean |
isSameDayOfWeek(java.util.Calendar jCalendar1,
java.util.Calendar jCalendar2) |
static java.util.Calendar |
mergeJCalendar(java.util.Calendar dateJCalendar,
java.util.Calendar timeJCalendar,
java.util.TimeZone timeZone) |
static java.util.Calendar |
toLastHourJCalendar(java.util.Calendar jCalendar) |
static java.util.Calendar |
toMidnightJCalendar(java.util.Calendar jCalendar) |
public static final long DAY
public static final long HOUR
public static final long MINUTE
public static final long MONTH
public static final long SECOND
public static long getDaysBetween(java.util.Calendar startTimeJCalendar, java.util.Calendar endTimeJCalendar)
public static int getDSTShift(java.util.Calendar jCalendar1, java.util.Calendar jCalendar2, java.util.TimeZone timeZone)
public static java.util.Calendar getJCalendar(java.util.Calendar jCalendar, java.util.TimeZone timeZone)
public static java.util.Calendar getJCalendar(int year, int month, int day, int hour, int minutes, int seconds, int milliseconds, java.util.TimeZone timeZone)
public static java.util.Calendar getJCalendar(long time)
public static java.util.Calendar getJCalendar(long time, java.util.TimeZone timeZone)
public static int getTimeZoneOffset(java.util.TimeZone timeZone)
public static boolean isSameDayOfWeek(java.util.Calendar jCalendar1, java.util.Calendar jCalendar2)
public static java.util.Calendar mergeJCalendar(java.util.Calendar dateJCalendar, java.util.Calendar timeJCalendar, java.util.TimeZone timeZone)
public static java.util.Calendar toLastHourJCalendar(java.util.Calendar jCalendar)
public static java.util.Calendar toMidnightJCalendar(java.util.Calendar jCalendar)