package com.logicbig.example.offsettime;
import java.time.OffsetTime;
import java.time.ZoneOffset;
public class GetSecondExample {
public static void main(String... args) {
OffsetTime d = OffsetTime.of(17, 40, 33, 20000, ZoneOffset.ofHours(-6));
System.out.println(d);
int second = d.getSecond();
System.out.println(second);
}
}