# Uses of Class
com.norconex.commons.lang.time.DateModel

Packages that use DateModel
Package
Description
com.norconex.commons.lang.time
Time-related utility classes.

- ## Uses of DateModel in com.norconex.commons.lang.time

  Methods in com.norconex.commons.lang.time that return DateModel
  Modifier and Type
  Method
  Description
  `DateModel`
  DateModel.`day(int day)`
  `DateModel`
  DateModel.`hour(int hour)`
  `DateModel`
  DateModel.`minute(int minute)`
  `DateModel`
  DateModel.`month(int month)`
  `DateModel`
  DateModel.`nano(int nano)`
  `static DateModel`
  DateModel.`of(int year, int month, int day)`
  `static DateModel`
  DateModel.`of(int year, int month, int day, int hour, int minute, int second)`
  `static DateModel`
  DateModel.`of(long epoch)`
  `static DateModel`
  DateModel.`of(@NonNull String dateStr)`
  Create a date model out of a date string representation, in the format defined by either `DateTimeFormatter.ISO_DATE_TIME` for date-time or `DateTimeFormatter.ISO_DATE` for date-only.
  `static DateModel`
  DateModel.`of(@NonNull String dateStr, @NonNull ZonedDateTimeParser parser)`
  Create a date model out of a date string representation, based on settings defined in the supplied `ZonedDateTimeParser`.
  `static DateModel`
  DateModel.`of(@NonNull Instant instant)`
  `static DateModel`
  DateModel.`of(@NonNull LocalDate ld)`
  `static DateModel`
  DateModel.`of(@NonNull LocalDateTime ldt)`
  `static DateModel`
  DateModel.`of(@NonNull ZonedDateTime zdt)`
  `static DateModel`
  DateModel.`of(Date date)`
  `DateModel`
  DateModel.`second(int second)`
  `DateModel`
  DateModel.`startOfDay(boolean startOfDay)`
  `DateModel`
  DateModel.`withDate(int year, int month, int day)`
  `DateModel`
  DateModel.`withDay(int day)`
  `DateModel`
  DateModel.`withHour(int hour)`
  `DateModel`
  DateModel.`withMillisecond(int millisecond)`
  `DateModel`
  DateModel.`withMinute(int minute)`
  `DateModel`
  DateModel.`withMonth(int month)`
  `DateModel`
  DateModel.`withNano(int nano)`
  `DateModel`
  DateModel.`withSecond(int second)`
  `DateModel`
  DateModel.`withStartOfDay(boolean startOfDay)`
  `DateModel`
  DateModel.`withTime(int hour, int minute, int second)`
  `DateModel`
  DateModel.`withYear(int year)`
  `DateModel`
  DateModel.`withZoneId(@NonNull ZoneId zoneId)`
  `DateModel`
  DateModel.`year(int year)`
  `DateModel`
  DateModel.`zoneId(@NonNull ZoneId zoneId)`