LocalTime MIN example

Description

LocalTime MIN defines the minimum supported LocalTime, '00:00'. This is the time of midnight at the start of the day.

Syntax

MIN has the following syntax.


public static final LocalTime MIN

Example

The following example shows how to use MIN.


import java.time.LocalTime;
/* ww w  .j a  v  a2 s.  c  o m*/
public class Main {
  public static void main(String[] args) {
    LocalTime l = LocalTime.MIN;
    
    System.out.println(l);
  }
}

The code above generates the following result.





















Home »
  Java Date Time »
    java.time Reference »




Clock
DayOfWeek
Duration
Instant
LocalDate
LocalDateTime
LocalTime
Month
MonthDay
OffsetDateTime
OffsetTime
Period
Year
YearMonth
ZonedDateTime
ZoneId
ZoneOffset