List of usage examples for java.time ZoneId systemDefault
public static ZoneId systemDefault()
From source file:Main.java
public static void main(String[] args) { ZoneId z = ZoneId.systemDefault(); System.out.println(z.toString()); }
From source file:Main.java
public static void main(String[] args) { ZoneId z = ZoneId.systemDefault(); System.out.println(z.equals(ZoneId.systemDefault())); }
From source file:Main.java
public static void main(String[] args) { ZoneId z = ZoneId.systemDefault(); System.out.println(z.hashCode()); }
From source file:Main.java
public static void main(String[] args) { ZoneId z = ZoneId.systemDefault(); z = z.normalized(); System.out.println(z); }
From source file:Main.java
public static void main(String[] args) { ZoneId z = ZoneId.systemDefault(); String s = z.getId(); System.out.println(s); }
From source file:Main.java
public static void main(String[] args) { ZoneId z = ZoneId.systemDefault(); System.out.println(z); }
From source file:Main.java
public static void main(String[] args) { Year y = Year.now(ZoneId.systemDefault()); System.out.println(y); }
From source file:Main.java
public static void main(String[] args) { ZoneId z = ZoneId.systemDefault(); ZoneRules r = z.getRules(); System.out.println(r); }
From source file:Main.java
public static void main(String[] args) { Clock clock = Clock.system(ZoneId.systemDefault()); System.out.println(clock);/*w ww. j a v a2 s. c om*/ System.out.println(clock.instant()); }
From source file:Main.java
public static void main(String[] args) { MonthDay m = MonthDay.now(ZoneId.systemDefault()); System.out.println(m); }