/** * Sets the given ReadWritableDuration to zero milliseconds. * * @param duration duration to get modified * @param object the object to convert, which is null * @param chrono the chronology to use * @throws NullPointerException if the duration is null */ public void setInto(ReadWritablePeriod duration, Object object, Chronology chrono) { duration.setPeriod((Period) null); }
/** * Sets the given ReadWritableDuration to zero milliseconds. * * @param duration duration to get modified * @param object the object to convert, which is null * @param chrono the chronology to use * @throws NullPointerException if the duration is null */ public void setInto(ReadWritablePeriod duration, Object object, Chronology chrono) { duration.setPeriod((Period) null); }
/** * Extracts duration values from an object of this converter's type, and * sets them into the given ReadWritablePeriod. * * @param duration duration to get modified * @param object the object to convert, must not be null * @param chrono the chronology to use * @throws NullPointerException if the duration or object is null * @throws ClassCastException if the object is an invalid type * @throws IllegalArgumentException if the object is invalid */ public void setInto(ReadWritablePeriod duration, Object object, Chronology chrono) { duration.setPeriod((ReadablePeriod) object); }
/** * Extracts duration values from an object of this converter's type, and * sets them into the given ReadWritablePeriod. * * @param duration duration to get modified * @param object the object to convert, must not be null * @param chrono the chronology to use * @throws NullPointerException if the duration or object is null * @throws ClassCastException if the object is an invalid type * @throws IllegalArgumentException if the object is invalid */ public void setInto(ReadWritablePeriod duration, Object object, Chronology chrono) { duration.setPeriod((ReadablePeriod) object); }
period.setPeriod(bestValidPeriod);
/** * Sets the given ReadWritableDuration to zero milliseconds. * * @param duration duration to get modified * @param object the object to convert, which is null * @param chrono the chronology to use * @throws NullPointerException if the duration is null */ public void setInto(ReadWritablePeriod duration, Object object, Chronology chrono) { duration.setPeriod((Period) null); }
/** * Extracts duration values from an object of this converter's type, and * sets them into the given ReadWritablePeriod. * * @param duration duration to get modified * @param object the object to convert, must not be null * @param chrono the chronology to use * @throws NullPointerException if the duration or object is null * @throws ClassCastException if the object is an invalid type * @throws IllegalArgumentException if the object is invalid */ public void setInto(ReadWritablePeriod duration, Object object, Chronology chrono) { duration.setPeriod((ReadablePeriod) object); }
/** * Sets the given ReadWritableDuration to zero milliseconds. * * @param duration duration to get modified * @param object the object to convert, which is null * @param chrono the chronology to use * @throws NullPointerException if the duration is null */ public void setInto(ReadWritablePeriod duration, Object object, Chronology chrono) { duration.setPeriod((Period) null); }
/** * Sets the given ReadWritableDuration to zero milliseconds. * * @param duration duration to get modified * @param object the object to convert, which is null * @param chrono the chronology to use * @throws NullPointerException if the duration is null */ public void setInto(ReadWritablePeriod duration, Object object, Chronology chrono) { duration.setPeriod((Period) null); }
/** * Sets the given ReadWritableDuration to zero milliseconds. * * @param duration duration to get modified * @param object the object to convert, which is null * @param chrono the chronology to use * @throws NullPointerException if the duration is null */ public void setInto(ReadWritablePeriod duration, Object object, Chronology chrono) { duration.setPeriod((Period) null); }
/** * Sets the given ReadWritableDuration to zero milliseconds. * * @param duration duration to get modified * @param object the object to convert, which is null * @param chrono the chronology to use * @throws NullPointerException if the duration is null */ public void setInto(ReadWritablePeriod duration, Object object, Chronology chrono) { duration.setPeriod((Period) null); }
/** * Sets the given ReadWritableDuration to zero milliseconds. * * @param duration duration to get modified * @param object the object to convert, which is null * @param chrono the chronology to use * @throws NullPointerException if the duration is null */ public void setInto(ReadWritablePeriod duration, Object object, Chronology chrono) { duration.setPeriod((Period) null); }
/** * Sets the given ReadWritableDuration to zero milliseconds. * * @param duration duration to get modified * @param object the object to convert, which is null * @param chrono the chronology to use * @throws NullPointerException if the duration is null */ public void setInto(ReadWritablePeriod duration, Object object, Chronology chrono) { duration.setPeriod((Period) null); }
/** * Sets the given ReadWritableDuration to zero milliseconds. * * @param duration duration to get modified * @param object the object to convert, which is null * @param chrono the chronology to use * @throws NullPointerException if the duration is null */ public void setInto(ReadWritablePeriod duration, Object object, Chronology chrono) { duration.setPeriod((Period) null); }
/** * Sets the given ReadWritableDuration to zero milliseconds. * * @param duration duration to get modified * @param object the object to convert, which is null * @param chrono the chronology to use * @throws NullPointerException if the duration is null */ public void setInto(ReadWritablePeriod duration, Object object, Chronology chrono) { duration.setPeriod((Period) null); }
/** * Extracts duration values from an object of this converter's type, and * sets them into the given ReadWritablePeriod. * * @param duration duration to get modified * @param object the object to convert, must not be null * @param chrono the chronology to use * @throws NullPointerException if the duration or object is null * @throws ClassCastException if the object is an invalid type * @throws IllegalArgumentException if the object is invalid */ public void setInto(ReadWritablePeriod duration, Object object, Chronology chrono) { duration.setPeriod((ReadablePeriod) object); }
/** * Extracts duration values from an object of this converter's type, and * sets them into the given ReadWritablePeriod. * * @param duration duration to get modified * @param object the object to convert, must not be null * @param chrono the chronology to use * @throws NullPointerException if the duration or object is null * @throws ClassCastException if the object is an invalid type * @throws IllegalArgumentException if the object is invalid */ public void setInto(ReadWritablePeriod duration, Object object, Chronology chrono) { duration.setPeriod((ReadablePeriod) object); }
/** * Extracts duration values from an object of this converter's type, and * sets them into the given ReadWritablePeriod. * * @param duration duration to get modified * @param object the object to convert, must not be null * @param chrono the chronology to use * @throws NullPointerException if the duration or object is null * @throws ClassCastException if the object is an invalid type * @throws IllegalArgumentException if the object is invalid */ public void setInto(ReadWritablePeriod duration, Object object, Chronology chrono) { duration.setPeriod((ReadablePeriod) object); }
/** * Extracts duration values from an object of this converter's type, and * sets them into the given ReadWritablePeriod. * * @param duration duration to get modified * @param object the object to convert, must not be null * @param chrono the chronology to use * @throws NullPointerException if the duration or object is null * @throws ClassCastException if the object is an invalid type * @throws IllegalArgumentException if the object is invalid */ public void setInto(ReadWritablePeriod duration, Object object, Chronology chrono) { duration.setPeriod((ReadablePeriod) object); }
/** * Extracts duration values from an object of this converter's type, and * sets them into the given ReadWritablePeriod. * * @param duration duration to get modified * @param object the object to convert, must not be null * @param chrono the chronology to use * @throws NullPointerException if the duration or object is null * @throws ClassCastException if the object is an invalid type * @throws IllegalArgumentException if the object is invalid */ public void setInto(ReadWritablePeriod duration, Object object, Chronology chrono) { duration.setPeriod((ReadablePeriod) object); }