endsBefore method

bool endsBefore(
  1. DateTime date
)

Returns true if this ends before the given date.

Implementation

bool endsBefore(DateTime date) => end.isBefore(date);