/** * Get the era property. * * @return the era property */ public Property era() { return new Property(this, getChronology().era()); }
/** * Get the era property which provides access to advanced functionality. * * @return the era property */ public Property era() { return new Property(this, getChronology().era()); }
/** * Get the era property which provides access to advanced functionality. * * @return the era property */ public Property era() { return new Property(this, getChronology().era()); }
/** * Get the era property which provides access to advanced functionality. * * @return the era property */ public Property era() { return new Property(this, getChronology().era()); }
/** * Get the era property which provides access to advanced functionality. * * @return the era property */ public Property era() { return new Property(this, getChronology().era()); }
/** * Get the era property which provides access to advanced functionality. * * @return the era property */ public Property era() { return new Property(this, getChronology().era()); }
/** * Get the era property which provides access to advanced functionality. * * @return the era property */ public Property era() { return new Property(this, getChronology().era()); }
/** * Get the era property which provides access to advanced functionality. * * @return the era property */ public Property era() { return new Property(this, getChronology().era()); }
/** * Get the era property. * * @return the era property */ public Property era() { return new Property(this, getChronology().era()); }
/** * Get the era property which provides access to advanced functionality. * * @return the era property */ public Property era() { return new Property(this, getChronology().era()); }
/** * Returns a copy of this datetime with the era field updated. * <p> * DateTime is immutable, so there are no set methods. * Instead, this method returns a new instance with the value of * era changed. * * @param era the era to set * @return a copy of this object with the field set * @throws IllegalArgumentException if the value is invalid * @since 1.3 */ public DateTime withEra(int era) { return withMillis(getChronology().era().set(getMillis(), era)); }
/** * Get the era field value. * * @return the era */ public int getEra() { return getChronology().era().get(getLocalMillis()); }
/** * Get the era field value. * * @return the era */ public int getEra() { return getChronology().era().get(getLocalMillis()); }
/** * Get the era field value. * * @return the era */ public int getEra() { return getChronology().era().get(getMillis()); }
/** * Get the era field value. * * @return the era */ public int getEra() { return getChronology().era().get(getMillis()); }
/** * Get the era field value. * * @return the era */ public int getEra() { return getChronology().era().get(getLocalMillis()); }
/** * Get the era field value. * * @return the era */ public int getEra() { return getChronology().era().get(getLocalMillis()); }
/** * Returns a copy of this datetime with the era field updated. * <p> * LocalDateTime is immutable, so there are no set methods. * Instead, this method returns a new instance with the value of * era changed. * * @param era the era to set * @return a copy of this object with the field set * @throws IllegalArgumentException if the value is invalid */ public LocalDateTime withEra(int era) { return withLocalMillis(getChronology().era().set(getLocalMillis(), era)); }
/** * Returns a copy of this date with the era field updated. * <p> * LocalDate is immutable, so there are no set methods. * Instead, this method returns a new instance with the value of * era changed. * * @param era the era to set * @return a copy of this object with the field set * @throws IllegalArgumentException if the value is invalid */ public LocalDate withEra(int era) { return withLocalMillis(getChronology().era().set(getLocalMillis(), era)); }
/** * Returns a copy of this date with the era field updated. * <p> * DateMidnight is immutable, so there are no set methods. * Instead, this method returns a new instance with the value of * era changed. * * @param era the era to set * @return a copy of this object with the field set * @throws IllegalArgumentException if the value is invalid * @since 1.3 */ public DateMidnight withEra(int era) { return withMillis(getChronology().era().set(getMillis(), era)); }