static LocalDateTime calculateArrivalAtNY(LocalDateTime bj, int h, int m) { return bj.atZone(ZoneId.of("Asia/Shanghai")) .withZoneSameInstant(ZoneId.of("America/New_York")) .plusHours(h).plusMinutes(m) .toLocalDateTime(); }
Sign in to make a reply
丑得惊动中南海