Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "custom-date-adapter"

Index

Classes

Variables

Functions

Variables

Const ISO_8601_REGEX

ISO_8601_REGEX: RegExp = /^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/

Matches strings that have the form of a valid RFC 3339 string (https://tools.ietf.org/html/rfc3339). Note that the string may not actually be a valid date because the regex will match strings an with out of bounds month, date, etc.

Functions

range

  • range<T>(length: number, valueFunction: (index: number) => T): T[]

Generated using TypeDoc