The example below shows how to use the property to change the value of a MutableDateTime object.
MutableDateTime dt = new MutableDateTime(1972, 12, 3, 13, 32, 19, 123); dt.year().add(20); dt.second().roundFloor().minute().set(10);
MutableDateTime.Propery itself is thread-safe and immutable, but the MutableDateTime being operated on is not. @author Stephen Colebourne @author Brian S O'Neill @since 1.0
|
|
|
|