ZoneOffset MIN example

Description

ZoneOffset MIN defines constant for the maximum supported offset.

Syntax

MIN has the following syntax.


public static final ZoneOffset MIN

Example

The following example shows how to use MIN.


import java.time.ZoneOffset;
//  www  .ja v  a2s .c  o  m
public class Main {
  public static void main(String[] args) {
    ZoneOffset t = ZoneOffset.MIN;
    System.out.println(t);
  }
}

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