/** * Obtains a Julian local date-time from another date-time object. * * @param temporal the date-time object to convert, not null * @return the Julian local date-time, not null * @throws DateTimeException if unable to create the date-time */ @Override @SuppressWarnings("unchecked") public ChronoLocalDateTime<JulianDate> localDateTime(TemporalAccessor temporal) { return (ChronoLocalDateTime<JulianDate>) super.localDateTime(temporal); }
@Override // override for return type public JulianDate resolveDate(Map<TemporalField, Long> fieldValues, ResolverStyle resolverStyle) { return (JulianDate) super.resolveDate(fieldValues, resolverStyle); }
/** * Obtains a British Cutover zoned date-time in this chronology from an {@code Instant}. * * @param instant the instant to create the date-time from, not null * @param zone the time-zone, not null * @return the British Cutover zoned date-time, not null * @throws DateTimeException if the result exceeds the supported range */ @Override @SuppressWarnings("unchecked") public ChronoZonedDateTime<BritishCutoverDate> zonedDateTime(Instant instant, ZoneId zone) { return (ChronoZonedDateTime<BritishCutoverDate>) super.zonedDateTime(instant, zone); }
public String toString() { return getId(); } }
/** * Obtains a Discordian zoned date-time in this chronology from an {@code Instant}. * * @param instant the instant to create the date-time from, not null * @param zone the time-zone, not null * @return the Discordian zoned date-time, not null * @throws DateTimeException if the result exceeds the supported range */ @Override @SuppressWarnings("unchecked") public ChronoZonedDateTime<DiscordianDate> zonedDateTime(Instant instant, ZoneId zone) { return (ChronoZonedDateTime<DiscordianDate>) super.zonedDateTime(instant, zone); }
/** * Obtains a British Cutover local date-time from another date-time object. * * @param temporal the date-time object to convert, not null * @return the British Cutover local date-time, not null * @throws DateTimeException if unable to create the date-time */ @Override @SuppressWarnings("unchecked") public ChronoLocalDateTime<BritishCutoverDate> localDateTime(TemporalAccessor temporal) { return (ChronoLocalDateTime<BritishCutoverDate>) super.localDateTime(temporal); }
@Override // override for return type public BritishCutoverDate resolveDate(Map<TemporalField, Long> fieldValues, ResolverStyle resolverStyle) { return (BritishCutoverDate) super.resolveDate(fieldValues, resolverStyle); }
/** * Obtains a British Cutover zoned date-time from another date-time object. * * @param temporal the date-time object to convert, not null * @return the British Cutover zoned date-time, not null * @throws DateTimeException if unable to create the date-time */ @Override @SuppressWarnings("unchecked") public ChronoZonedDateTime<BritishCutoverDate> zonedDateTime(TemporalAccessor temporal) { return (ChronoZonedDateTime<BritishCutoverDate>) super.zonedDateTime(temporal); }
/** * Obtains a Pax local date-time from another date-time object. * * @param temporal the date-time object to convert, not null * @return the Pax local date-time, not null * @throws DateTimeException if unable to create the date-time */ @Override @SuppressWarnings("unchecked") public ChronoLocalDateTime<PaxDate> localDateTime(TemporalAccessor temporal) { return (ChronoLocalDateTime<PaxDate>) super.localDateTime(temporal); }
@Override public PaxDate resolveDate(Map<TemporalField, Long> fieldValues, ResolverStyle resolverStyle) { return (PaxDate) super.resolveDate(fieldValues, resolverStyle); }
/** * Obtains a Symmetry010 zoned date-time from another date-time object. * * @param temporal the date-time object to convert, not null * @return the Symmetry010 zoned date-time, not null * @throws DateTimeException if unable to create the date-time */ @Override @SuppressWarnings("unchecked") public ChronoZonedDateTime<Symmetry010Date> zonedDateTime(TemporalAccessor temporal) { return (ChronoZonedDateTime<Symmetry010Date>) super.zonedDateTime(temporal); }
/** * Obtains a International Fixed local date-time from another date-time object. * * @param temporal the date-time object to convert, not null * @return the International Fixed local date-time, not null * @throws DateTimeException if unable to create the date-time */ @Override @SuppressWarnings("unchecked") public ChronoLocalDateTime<InternationalFixedDate> localDateTime(TemporalAccessor temporal) { return (ChronoLocalDateTime<InternationalFixedDate>) super.localDateTime(temporal); }
@Override // override for return type public DiscordianDate resolveDate(Map<TemporalField, Long> fieldValues, ResolverStyle resolverStyle) { return (DiscordianDate) super.resolveDate(fieldValues, resolverStyle); }
/** * Obtains a Pax zoned date-time from another date-time object. * * @param temporal the date-time object to convert, not null * @return the Pax zoned date-time, not null * @throws DateTimeException if unable to create the date-time */ @Override @SuppressWarnings("unchecked") public ChronoZonedDateTime<PaxDate> zonedDateTime(TemporalAccessor temporal) { return (ChronoZonedDateTime<PaxDate>) super.zonedDateTime(temporal); }
/** * Obtains a Symmetry010 local date-time from another date-time object. * * @param temporal the date-time object to convert, not null * @return the Symmetry010 local date-time, not null * @throws DateTimeException if unable to create the date-time */ @Override @SuppressWarnings("unchecked") public ChronoLocalDateTime<Symmetry010Date> localDateTime(TemporalAccessor temporal) { return (ChronoLocalDateTime<Symmetry010Date>) super.localDateTime(temporal); }
/** * Obtains a International Fixed zoned date-time from another date-time object. * * @param temporal the date-time object to convert, not null * @return the International Fixed zoned date-time, not null * @throws DateTimeException if unable to create the date-time */ @Override @SuppressWarnings("unchecked") public ChronoZonedDateTime<InternationalFixedDate> zonedDateTime(TemporalAccessor temporal) { return (ChronoZonedDateTime<InternationalFixedDate>) super.zonedDateTime(temporal); }
/** * Obtains a Accounting local date-time from another date-time object. * * @param temporal the date-time object to convert, not null * @return the Accounting local date-time, not null * @throws DateTimeException if unable to create the date-time */ @Override @SuppressWarnings("unchecked") public ChronoLocalDateTime<AccountingDate> localDateTime(TemporalAccessor temporal) { return (ChronoLocalDateTime<AccountingDate>) super.localDateTime(temporal); }
/** * Obtains a Accounting zoned date-time from another date-time object. * * @param temporal the date-time object to convert, not null * @return the Accounting zoned date-time, not null * @throws DateTimeException if unable to create the date-time */ @Override @SuppressWarnings("unchecked") public ChronoZonedDateTime<AccountingDate> zonedDateTime(TemporalAccessor temporal) { return (ChronoZonedDateTime<AccountingDate>) super.zonedDateTime(temporal); }
/** * Obtains a Symmetry454 local date-time from another date-time object. * * @param temporal the date-time object to convert, not null * @return the Symmetry454 local date-time, not null * @throws DateTimeException if unable to create the date-time */ @Override @SuppressWarnings("unchecked") public ChronoLocalDateTime<Symmetry454Date> localDateTime(TemporalAccessor temporal) { return (ChronoLocalDateTime<Symmetry454Date>) super.localDateTime(temporal); }
/** * Obtains a Julian zoned date-time from another date-time object. * * @param temporal the date-time object to convert, not null * @return the Julian zoned date-time, not null * @throws DateTimeException if unable to create the date-time */ @Override @SuppressWarnings("unchecked") public ChronoZonedDateTime<JulianDate> zonedDateTime(TemporalAccessor temporal) { return (ChronoZonedDateTime<JulianDate>) super.zonedDateTime(temporal); }