< prev index next >

modules/javafx.base/src/main/java/javafx/util/Duration.java

Print this page

        

*** 30,40 **** /** * <p> * A class that defines a duration of time. Duration instances are immutable, * and are therefore replaced rather than modified, similar to {@link java.math.BigDecimal}. ! * Duration's can be created using the constructor, or one of the static construction * methods such as {@link #seconds} or {@link #minutes}. * </p> * @since JavaFX 2.0 */ public class Duration implements Comparable<Duration>, Serializable { --- 30,40 ---- /** * <p> * A class that defines a duration of time. Duration instances are immutable, * and are therefore replaced rather than modified, similar to {@link java.math.BigDecimal}. ! * Durations can be created using the constructor, or one of the static construction * methods such as {@link #seconds} or {@link #minutes}. * </p> * @since JavaFX 2.0 */ public class Duration implements Comparable<Duration>, Serializable {
< prev index next >