package dropbox

  1. Overview
  2. Docs

Date representation.

type wday = Dropbox_date.wday =
  1. | Sun
  2. | Mon
  3. | Tue
  4. | Wed
  5. | Thu
  6. | Fri
  7. | Sat

Day of week.

type month = Dropbox_date.month =
  1. | Jan
  2. | Feb
  3. | Mar
  4. | Apr
  5. | May
  6. | Jun
  7. | Jul
  8. | Aug
  9. | Sep
  10. | Oct
  11. | Nov
  12. | Dec

Month.

val day : t -> int

Day of the month (1-31).

val month : t -> month

Month

val year : t -> int

4 digits year

val hour : t -> int

Hour

val min : t -> int

Minutes

val sec : t -> int

Seconds

val wday : t -> wday

Day of week

val to_string : t -> string
OCaml

Innovation. Community. Security.