Java Date Time - LocalTime MIN example








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;

public class Main {
  public static void main(String[] args) {
    LocalTime l = LocalTime.MIN;
    
    System.out.println(l);
  }
}

The code above generates the following result.