import java.time.Instant;
import java.time.ZoneId;
import java.time.ZonedDateTime;
import java.time.format.DateTimeFormatter;
public class Main {
public static void main
(String[] args
) { String strDate
= "2021-11-25"; DateTimeFormatter dtf = DateTimeFormatter.ISO_LOCAL_DATE_TIME.withZone(ZoneId.systemDefault());
ZonedDateTime zdt = ZonedDateTime.parse(strDate + "T" + strTime, dtf);
Instant instant = zdt.toInstant();
}
}
aW1wb3J0IGphdmEudGltZS5JbnN0YW50OwppbXBvcnQgamF2YS50aW1lLlpvbmVJZDsKaW1wb3J0IGphdmEudGltZS5ab25lZERhdGVUaW1lOwppbXBvcnQgamF2YS50aW1lLmZvcm1hdC5EYXRlVGltZUZvcm1hdHRlcjsKCnB1YmxpYyBjbGFzcyBNYWluIHsKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluKFN0cmluZ1tdIGFyZ3MpIHsKCQlTdHJpbmcgc3RyRGF0ZSA9ICIyMDIxLTExLTI1IjsKCQlTdHJpbmcgc3RyVGltZSA9ICIxNToyMCI7CgkJRGF0ZVRpbWVGb3JtYXR0ZXIgZHRmID0gRGF0ZVRpbWVGb3JtYXR0ZXIuSVNPX0xPQ0FMX0RBVEVfVElNRS53aXRoWm9uZShab25lSWQuc3lzdGVtRGVmYXVsdCgpKTsKCQlab25lZERhdGVUaW1lIHpkdCA9IFpvbmVkRGF0ZVRpbWUucGFyc2Uoc3RyRGF0ZSArICJUIiArIHN0clRpbWUsIGR0Zik7CgkJSW5zdGFudCBpbnN0YW50ID0gemR0LnRvSW5zdGFudCgpOwoJCVN5c3RlbS5vdXQucHJpbnRsbihpbnN0YW50KTsKCX0KfQ==