Java Date Time - LocalDate MIN example








LocalDate MIN defines the minimum supported LocalDate, '-999999999-01-01'.

Syntax

MIN has the following syntax.

public static final LocalDate MIN

Example

The following example shows how to use MIN.

import java.time.LocalDate;

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

The code above generates the following result.