Options
All
  • Public
  • Public/Protected
  • All
Menu

Module Common/Query

Index

Classes

Interfaces

Type aliases

Type aliases

DateSpecification

DateSpecification: Date | string | number | moment.DurationInputObject

Represents a date-specification that can either be fixed or a delta from now. If the date is a moment DurationInputObject we calculate the date in real-time when the fetch-call is executed. Note that the value must be an object with properties and values. I.e. { M: -1 } // One month ago See http://momentjs.com/docs/#/durations/. Otherwise we assume that the value is a fixed value that the moment library can parse without any helping formatting strings. See http://momentjs.com/docs/#/parsing/string/.

Generated using TypeDoc