Module Goog.​Date

module Date : sig..end

class type interval = object..end
val interval : 
  ((int, Js.js_string Js.t) Goog.Tools.Union.t Js.opt ->
   int Js.opt ->
   int Js.opt ->
   int Js.opt -> int Js.opt -> int Js.opt -> interval Js.t)
  Js.constr

Class representing a date/time interval. Used for date calculations. <pre> new goog.date.Interval(0, 1) // One month new goog.date.Interval(0, 0, 3, 1) // Three days and one hour new goog.date.Interval(goog.date.Interval.DAYS, 1) // One day </pre>

class type date = object..end
val date : 
  (int Js.opt -> int Js.opt -> int Js.opt -> date Js.t)
  Js.constr

date.Date Extends Js.date Class representing a date. Defaults to current date if none is specified. Implements most methods of the native js Date object (except the time related ones, goog.date.DateTime) and can be used interchangeably with it just as if goog.date.Date was a subclass of Date. To allow goog.date.Date objects to be passed as arguments to methods expecting Date objects this class is marked as extending the built in Date object even though that's not strictly true.

class type dateTime = object..end
val dateTime : 
  (int Js.opt ->
   int Js.opt ->
   int Js.opt ->
   int Js.opt ->
   int Js.opt -> int Js.opt -> int Js.opt -> dateTime Js.t)
  Js.constr
class type dateRange = object..end
val dateRange : (Js.date Js.t -> Js.date Js.t -> dateRange Js.t) Js.constr

Constructs a date range.

class type standardDateRangeKeys = object..end
val standardDateRangeKeys : standardDateRangeKeys Js.t Js.constr