DateTime is immutable, so there are no set methods. Instead, this method returns a new instance with the value of month of year changed. @param monthOfYear the month of year to set @return a copy of this object with the field set @throws IllegalArgumentException if the value is invalid @since 1.3
LocalDate is immutable, so there are no set methods. Instead, this method returns a new instance with the value of month of year changed. @param monthOfYear the month of year to set @return a copy of this object with the field set @throws IllegalArgumentException if the value is invalid
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|