operator + method

  1. @useResult
LocalDateTime operator +(
  1. Period period
)

Returns a copy of this with the period added.

LocalDateTime(2023, 4, 10, 8) + Period(days: 1); // 2023-04-02 08:00

Implementation

@useResult LocalDateTime operator + (Period period) => LocalDateTime._(_native + period);