operator + method
Adds a period to a local date/time. Fields are added in the order provided by the period. This is a convenience operator over the add method.
localDateTime
: Initial local date and timeperiod
: Period to add
Returns: The resulting local date and time
Implementation
LocalDateTime operator +(Period period) => add(period);