Uses of Enum Class
com.landawn.abacus.util.CalendarField
-
Uses of CalendarField in com.landawn.abacus.util
Modifier and TypeMethodDescriptionstatic CalendarField
CalendarField.valueOf
(int intValue) Returns the enum constant of this class with the specified name.static CalendarField
Returns the enum constant of this class with the specified name.static CalendarField[]
CalendarField.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionstatic <T extends Date>
TDateUtil.ceiling
(T date, CalendarField field) static <T extends Calendar>
TDateUtil.ceiling
(T calendar, CalendarField field) static long
DateUtil.getFragmentInDays
(Calendar calendar, CalendarField fragment) Copied from Apache Commons Lang under Apache License v2.static long
DateUtil.getFragmentInDays
(Date date, CalendarField fragment) Copied from Apache Commons Lang under Apache License v2.static long
DateUtil.getFragmentInHours
(Calendar calendar, CalendarField fragment) Copied from Apache Commons Lang under Apache License v2.static long
DateUtil.getFragmentInHours
(Date date, CalendarField fragment) Copied from Apache Commons Lang under Apache License v2.static long
DateUtil.getFragmentInMilliseconds
(Calendar calendar, CalendarField fragment) Copied from Apache Commons Lang under Apache License v2.static long
DateUtil.getFragmentInMilliseconds
(Date date, CalendarField fragment) Copied from Apache Commons Lang under Apache License v2.static long
DateUtil.getFragmentInMinutes
(Calendar calendar, CalendarField fragment) Copied from Apache Commons Lang under Apache License v2.static long
DateUtil.getFragmentInMinutes
(Date date, CalendarField fragment) Copied from Apache Commons Lang under Apache License v2.static long
DateUtil.getFragmentInSeconds
(Calendar calendar, CalendarField fragment) Copied from Apache Commons Lang under Apache License v2.static long
DateUtil.getFragmentInSeconds
(Date date, CalendarField fragment) Copied from Apache Commons Lang under Apache License v2.static <T extends Date>
TDateUtil.roll
(T date, long amount, CalendarField unit) Deprecated.static <T extends Calendar>
TDateUtil.roll
(T calendar, long amount, CalendarField unit) Deprecated.replaced byaddYears/addMonths/addWeeks/...
static <T extends Date>
TDateUtil.round
(T date, CalendarField field) static <T extends Calendar>
TDateUtil.round
(T calendar, CalendarField field) static <T extends Date>
TDateUtil.truncate
(T date, CalendarField field) static <T extends Calendar>
TDateUtil.truncate
(T calendar, CalendarField field) static int
DateUtil.truncatedCompareTo
(Calendar cal1, Calendar cal2, CalendarField field) static int
DateUtil.truncatedCompareTo
(Date date1, Date date2, CalendarField field) static boolean
DateUtil.truncatedEquals
(Calendar cal1, Calendar cal2, CalendarField field) static boolean
DateUtil.truncatedEquals
(Date date1, Date date2, CalendarField field)
addYears/addMonths/addWeeks/...