Const An ascendent formated date comparator.
An ascendent formated date comparator.
An descendent formated date comparator.
An descendent formated date comparator.
An ascendent date comparator.
An ascendent date comparator.
An descendent date comparator.
An descendent date comparator.
Date helper methods.
Gets a Date corresponding to the given number of days in the past.
The number of days in the past.
a Date object.
Gets a Date corresponding to the given number of days in the past.
The number of days in the past.
a Date object.
Formats a date.
The date to format.
Options.
The given date formated accordingly to the given options.
Formats a date.
Optional date: DateThe date to format.
Optional options: DateFormatOptionsOptions.
The given date formated accordingly to the given options.
Gets a Date corresponding to the given number of days in the future.
The number of days in the future.
a Date object.
Gets a Date corresponding to the given number of days in the future.
The number of days in the future.
a Date object.
Tests whether the first given date is after the second given date.
The first date to compare.
The second date to compare.
true if the first given date is after the second given date, false otherwise.
Tests whether the first given date is after the second given date.
true if the first given date is after the second given date, false otherwise.
Tests whether the given date happens after the given number of days in the past relatively to today.
The date to compare.
The number of days in the future.
true if the given date happens after today - nbOfDays, false otherwise.
Tests whether the given date happens after the given number of days in the past relatively to today.
The date to compare.
The number of days in the future.
true if the given date happens after today - nbOfDays, false otherwise.
Tests whether the given date happens after the given number of days in the future relatively to today.
The date to compare.
The number of days in the future.
true if the given date happens after today + nbOfDays, false otherwise.
Tests whether the given date happens after the given number of days in the future relatively to today.
The date to compare.
The number of days in the future.
true if the given date happens after today + nbOfDays, false otherwise.
Tests whether the first given date is before the second given date.
The first date to compare.
The second date to compare.
true if the first given date is before the second given date, false otherwise.
Tests whether the first given date is before the second given date.
true if the first given date is before the second given date, false otherwise.
Tests whether the given date happened before the given number of days in the past relatively to today.
The date to compare.
The number of days in the future.
true if the given date happened before today - nbOfDays, false otherwise.
Tests whether the given date happened before the given number of days in the past relatively to today.
The date to compare.
The number of days in the future.
true if the given date happened before today - nbOfDays, false otherwise.
Tests whether the given date happened before the given number of days in the future relatively to today.
The date to compare.
The number of days in the future.
true if the given date happened before today + nbOfDays, false otherwise.
Tests whether the given date happened before the given number of days in the future relatively to today.
The date to compare.
The number of days in the future.
true if the given date happened before today + nbOfDays, false otherwise.
Tests whether the given date happened the given number of days in the past.
The date to compare.
true if the given date happened today - nbOfDays, false otherwise.
Tests whether the given date happened the given number of days in the past.
The date to compare.
true if the given date happened today - nbOfDays, false otherwise.
Tests whether the given date happens after today.
The date to compare.
true if the given date happens after today, false otherwise.
Tests whether the given date happens after today.
The date to compare.
true if the given date happens after today, false otherwise.
Tests whether the given date happens the given number of days in the future.
The date to compare.
true if the given date happens today + nbOfDays, false otherwise.
Tests whether the given date happens the given number of days in the future.
The date to compare.
true if the given date happens today + nbOfDays, false otherwise.
Tests whether the given date happened before today.
The date to compare.
true if the given date happened before today, false otherwise.
Tests whether the given date happened before today.
The date to compare.
true if the given date happened before today, false otherwise.
Tests whether the first given date is the same as the second given date.
The first date to compare.
The second date to compare.
true if the first given date is the same as the second given date, false otherwise.
Tests whether the first given date is the same as the second given date.
true if the first given date is the same as the second given date, false otherwise.
Tests whether the given date happens today.
The date to compare.
true if the given date happens today, false otherwise.
Tests whether the given date happens today.
The date to compare.
true if the given date happens today, false otherwise.
Tests whether the given date happens tomorrow.
The date to compare.
true if the given date happens tomorrow, false otherwise.
Tests whether the given date happens tomorrow.
The date to compare.
true if the given date happens tomorrow, false otherwise.
Tests whether the given date happened yesterday.
The date to compare.
true if the given date happened yesterday, false otherwise.
Tests whether the given date happened yesterday.
The date to compare.
true if the given date happened yesterday, false otherwise.
Gets a Date corresponding to now.
a Date object.
Gets a Date corresponding to now.
a Date object.
Gets today's date as a string formated in the format specified in the given options parameter.
The separator between day, month and year.
today's date as a string.
Gets today's date as a string formated in the format specified in the given options parameter.
Optional options: DateFormatOptionstoday's date as a string.
Gets a Date corresponding to yesterday.
a Date object.
Gets a Date corresponding to yesterday.
a Date object.
Gets a Date corresponding to yesterday.
a Date object.
Gets a Date corresponding to yesterday.
a Date object.
Generated using TypeDoc
Date comparators.