operator - method
Returns a copy of this with the period
subtracted.
LocalDateTime(2023, 4, 10, 8) - Period(days: 1); // 2023-03-31 08:00
Implementation
@useResult LocalDateTime operator - (Period period) => LocalDateTime._(_native - period);
Returns a copy of this with the period
subtracted.
LocalDateTime(2023, 4, 10, 8) - Period(days: 1); // 2023-03-31 08:00
@useResult LocalDateTime operator - (Period period) => LocalDateTime._(_native - period);