DateExtensions extension

A set of extensions to work with DateTimes more seamlessly.

on

Methods

isTheSameDate(Date other) bool
Checks is this is on the same date as other.
toDate() Date
Converts this to a corresponding Date object.