isUnixEpochDateTime property
bool
get
isUnixEpochDateTime
Checks if the DateTime instance is exactly equal to
the Unix epoch date and time (00:00:00 UTC, January 1, 1970).
Returns true if the DateTime instance represents the exact
Unix epoch date and time, and false otherwise.
Implementation
bool get isUnixEpochDateTime => this == DateConstants.unixEpochDate;