plus static method
Add the specified period to the date and time. Friendly alternative to operator+()
.
localDateTime
: Initial local date and timeperiod
: Period to add
Returns: The resulting local date and time
Implementation
static LocalDateTime plus(LocalDateTime localDateTime, Period period) => localDateTime.add(period);