| java.lang.Object com.projity.timescale.CalendarUtil
CalendarUtil | public class CalendarUtil (Code) | | |
Inner Class :public static class DayIterator | |
Method Summary | |
public static int | compareDay(Calendar calendar, Calendar calendar1) | public static int | compareEra(Calendar calendar, Calendar calendar1) | public static int | compareMonth(Calendar calendar, Calendar calendar1) | public static int | compareYear(Calendar calendar, Calendar calendar1) | public static void | dayFloor(Calendar calendar) | public static void | floor(Calendar calendar, int field) | public static void | floor(Calendar calendar, int field, int number) | public static long | getMinDuration(int field) | public static void | hourFloor(Calendar calendar) | public static void | hourFloor(Calendar calendar, int number) | public static Date | max(Date date, Date date1) | public static Date | min(Date date, Date date1) | public static void | minuteFloor(Calendar calendar) | public static void | minuteFloor(Calendar calendar, int number) | public static void | monthFloor(Calendar calendar) | public static void | monthFloor(Calendar calendar, int number) | public static long | roundTime(double dt, Calendar tmp) | public static void | roundTime(Calendar c) | public static void | secondFloor(Calendar calendar) | public static long | toLongTime(double t) | public static String | toString(long t) Don't use in loops. | public static String | toString(Calendar calendar) | public static void | weekFloor(Calendar calendar) | public static void | yearFloor(Calendar calendar) |
DAY_ms | final public static long DAY_ms(Code) | | |
HOUR_ms | final public static long HOUR_ms(Code) | | |
MINUTE_ms | final public static long MINUTE_ms(Code) | | |
MONTH_ms | final public static long MONTH_ms(Code) | | |
SECOND_ms | final public static long SECOND_ms(Code) | | |
WEEK_ms | final public static long WEEK_ms(Code) | | |
YEAR_ms | final public static long YEAR_ms(Code) | | |
floor | public static void floor(Calendar calendar, int field, int number)(Code) | | |
getMinDuration | public static long getMinDuration(int field)(Code) | | |
hourFloor | public static void hourFloor(Calendar calendar, int number)(Code) | | |
minuteFloor | public static void minuteFloor(Calendar calendar, int number)(Code) | | |
monthFloor | public static void monthFloor(Calendar calendar, int number)(Code) | | |
toLongTime | public static long toLongTime(double t)(Code) | | |
toString | public static String toString(long t)(Code) | | Don't use in loops. DateFormat and Date have to be reused
Parameters: t - |
|
|