Returns the year part of the date: a value in the range [-1_000_000_000,-1] ∪ [1,999_999_999], where -1 is the year 1 BCE.
Do not use val.year directly unless you are absolutely sure that it is in the range a Time can hold (-10000 to 9999).
See Implementation
Returns the year part of the date: a value in the range [-1_000_000_000,-1] ∪ [1,999_999_999], where -1 is the year 1 BCE.
Do not use val.year directly unless you are absolutely sure that it is in the range a Time can hold (-10000 to 9999).