import java.time.Instant;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.time.ZoneId;
public class Main {
public static void main
(String[] args
) { String strDate
= "2021-11-25"; LocalDateTime ldt = LocalDateTime.of(LocalDate.parse(strDate), LocalTime.parse(strTime));
Instant instant = ldt.toInstant(ZoneId.systemDefault().getRules().getOffset(ldt));
}
}
aW1wb3J0IGphdmEudGltZS5JbnN0YW50OwppbXBvcnQgamF2YS50aW1lLkxvY2FsRGF0ZTsKaW1wb3J0IGphdmEudGltZS5Mb2NhbERhdGVUaW1lOwppbXBvcnQgamF2YS50aW1lLkxvY2FsVGltZTsKaW1wb3J0IGphdmEudGltZS5ab25lSWQ7CgpwdWJsaWMgY2xhc3MgTWFpbiB7CglwdWJsaWMgc3RhdGljIHZvaWQgbWFpbihTdHJpbmdbXSBhcmdzKSB7CgkJU3RyaW5nIHN0ckRhdGUgPSAiMjAyMS0xMS0yNSI7CgkJU3RyaW5nIHN0clRpbWUgPSAiMTU6MjAiOwoJCUxvY2FsRGF0ZVRpbWUgbGR0ID0gTG9jYWxEYXRlVGltZS5vZihMb2NhbERhdGUucGFyc2Uoc3RyRGF0ZSksIExvY2FsVGltZS5wYXJzZShzdHJUaW1lKSk7CgkJSW5zdGFudCBpbnN0YW50ID0gbGR0LnRvSW5zdGFudChab25lSWQuc3lzdGVtRGVmYXVsdCgpLmdldFJ1bGVzKCkuZ2V0T2Zmc2V0KGxkdCkpOwoJCVN5c3RlbS5vdXQucHJpbnRsbihpbnN0YW50KTsKCX0KfQ==