Uses of Class
com.norconex.commons.lang.time.DateModel
Packages that use DateModel
-
Uses of DateModel in com.norconex.commons.lang.time
Methods in com.norconex.commons.lang.time that return DateModelModifier and TypeMethodDescriptionDateModel.day(int day) DateModel.hour(int hour) DateModel.minute(int minute) DateModel.month(int month) DateModel.nano(int nano) static DateModelDateModel.of(int year, int month, int day) static DateModelDateModel.of(int year, int month, int day, int hour, int minute, int second) static DateModelDateModel.of(long epoch) static DateModelCreate a date model out of a date string representation, in the format defined by eitherDateTimeFormatter.ISO_DATE_TIMEfor date-time orDateTimeFormatter.ISO_DATEfor date-only.static DateModelDateModel.of(@NonNull String dateStr, @NonNull ZonedDateTimeParser parser) Create a date model out of a date string representation, based on settings defined in the suppliedZonedDateTimeParser.static DateModelstatic DateModelstatic DateModelDateModel.of(@NonNull LocalDateTime ldt) static DateModelDateModel.of(@NonNull ZonedDateTime zdt) static DateModelDateModel.second(int second) DateModel.startOfDay(boolean startOfDay) DateModel.withDate(int year, int month, int day) DateModel.withDay(int day) DateModel.withHour(int hour) DateModel.withMillisecond(int millisecond) DateModel.withMinute(int minute) DateModel.withMonth(int month) DateModel.withNano(int nano) DateModel.withSecond(int second) DateModel.withStartOfDay(boolean startOfDay) DateModel.withTime(int hour, int minute, int second) DateModel.withYear(int year) DateModel.withZoneId(@NonNull ZoneId zoneId) DateModel.year(int year)