Augmentations for dates.

Remarks

Importing this module

This module's augmentations can be applied by using the following import:

import "@neotype/extensions/date.js";

Comparing dates

Dates implement Eq and Ord.

  • Two dates are equal if they have the same representation in milleseconds since the ECMAScript epoch.
  • Dates are ordered from least to greatest according to their representation in millseconds since the ECMAScript epoch.

Index

Interfaces

Generated using TypeDoc