@Override public ZonedDateTime queryFrom(TemporalAccessor temporal) { return ZonedDateTime.from(temporal); } };
@Override public ZonedDateTime queryFrom(TemporalAccessor temporal) { return ZonedDateTime.from(temporal); } };
/** * Obtains an ISO zoned date-time from another date-time object. * <p> * This is equivalent to {@link ZonedDateTime#from(TemporalAccessor)}. * * @param temporal the date-time object to convert, not null * @return the ISO zoned date-time, not null * @throws DateTimeException if unable to create the date-time */ @Override // override with covariant return type public ZonedDateTime zonedDateTime(TemporalAccessor temporal) { return ZonedDateTime.from(temporal); }
@Override public ZonedDateTime apply(TemporalAccessor temporalAccessor) { return ZonedDateTime.from(temporalAccessor); } },
@Override public ZonedDateTime apply(TemporalAccessor temporalAccessor) { return ZonedDateTime.from(temporalAccessor); } },
@Override public ZonedDateTime apply(TemporalAccessor temporalAccessor) { return ZonedDateTime.from(temporalAccessor); } },
@Override public ZonedDateTime apply(TemporalAccessor temporalAccessor) { return ZonedDateTime.from(temporalAccessor); } },
/** * Obtains an ISO zoned date-time from another date-time object. * <p> * This is equivalent to {@link ZonedDateTime#from(TemporalAccessor)}. * * @param temporal the date-time object to convert, not null * @return the ISO zoned date-time, not null * @throws DateTimeException if unable to create the date-time */ @Override // override with covariant return type public ZonedDateTime zonedDateTime(TemporalAccessor temporal) { return ZonedDateTime.from(temporal); }
ZonedDateTime end = ZonedDateTime.from(endExclusive); if (unit instanceof ChronoUnit) { end = end.withZoneSameInstant(zone);
ZonedDateTime end = ZonedDateTime.from(endExclusive); if (unit instanceof ChronoUnit) { end = end.withZoneSameInstant(zone);