static LocalDateTime calculateArrivalAtNY(LocalDateTime bj, int h, int m) { LocalDateTime nw =bj.plusHours(h).plusMinutes(m); ZonedDateTime nw_E8 = nw.atZone(ZoneId.of("UTC+08:00")); return nw_E8.withZoneSameInstant(ZoneId.of("America/New_York")).toLocalDateTime(); }
Sign in to make a reply
金黄新世界秩序