isUnixEpochDate property
bool
get
isUnixEpochDate
Checks if the year, month, and day of the DateTime instance
match those of the Unix epoch date (January 1, 1970).
Returns true if the year, month, and day match the Unix epoch date,
and false otherwise.
Implementation
bool get isUnixEpochDate =>
year == DateConstants.unixEpochDate.year &&
month == DateConstants.unixEpochDate.month &&
day == DateConstants.unixEpochDate.day;