addWeeks method
Returns a new LocalDateTime representing the current value with the given number of weeks added.
weeks
: The number of weeks to add
Returns: The current value plus the given number of weeks.
Implementation
LocalDateTime addWeeks(int weeks) => LocalDateTime.localDateAtTime(calendarDate.addWeeks(weeks), clockTime);