| java.lang.Object com.projity.util.DateTime
DateTime | public class DateTime (Code) | | Utility methods on Date
|
closestDate | public static long closestDate(double value)(Code) | | |
closestDate | public static long closestDate(long date)(Code) | | |
currentToYYMM | public static int currentToYYMM()(Code) | | Get an integer for the date in form YYYYMMDD where the months go from 1 to 12 (unlike calendar where they go from 0 to 11)
Parameters: date - |
dayFloor | public static long dayFloor(long date)(Code) | | |
fromGmt | public static long fromGmt(long d)(Code) | | |
fromId | public static long fromId(int id)(Code) | | Get an integer for the date in form YYYYMMDD where the months go from 1 to 12 (unlike calendar where they go from 0 to 11)
Parameters: date - |
hour24 | public static long hour24()(Code) | | |
hourFloor | public static long hourFloor(long date)(Code) | | |
midnightNextDay | public static long midnightNextDay(long d)(Code) | | |
midnightToday | public static long midnightToday()(Code) | | |
midnightTomorrow | public static long midnightTomorrow()(Code) | | |
minuteFloor | public static long minuteFloor(long date)(Code) | | |
nextDay | public static long nextDay(long day)(Code) | | |
setCalendar | public static void setCalendar(int year, int month, int day, Calendar cal)(Code) | | |
toId | public static int toId(long date)(Code) | | Get an integer for the date in form YYYYMMDD where the months go from 1 to 12 (unlike calendar where they go from 0 to 11)
Parameters: date - |
utcShortDateFormatInstance | public static DateFormat utcShortDateFormatInstance()(Code) | | |
|
|