copy abstract method

Date copy({
  1. int? year,
  2. int? month,
  3. int? day,
})

Copy this date object with some fields changed

Original date object remains unchanged

You can leave out items for not changing them

This method is NOT safe

This method does change all fields at once, Not individually in a order

Throws DateException on problems

Note: For ordering use with*() methods

Implementation

Date copy({int? year, int? month, int? day});