I like this option. Thanks.
Instead of defining parts
we could, as indicated above, use the available Dates function getter: yearmonthday
. Right?
1 Like
Note that yearmonthday
returns a Tuple
and not a NamedTuple
. So I prefer not to add extra magic to a setter that is not mirrored in the getter.
1 Like