1 (* Copyright (C) 2009 Matthew Fluet.
2 * Copyright (C) 1999-2006 Henry Cejtin, Matthew Fluet, Suresh
3 * Jagannathan, and Stephen Weeks.
5 * MLton is released under a BSD-style license.
6 * See the file MLton-LICENSE for details.
9 signature DATE_STRUCTS =
19 datatype t = Mon | Tue | Wed | Thu | Fri | Sat | Sun
25 Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec
31 val compare: t * t -> order
38 offset: Time.t option} -> t
40 val fmt: t * string -> string
41 val fromString: string -> t option
42 val fromTimeLocal: Time.t -> t
43 val fromTimeUniv: Time.t -> t
45 val isDst: t -> bool option
46 val layout: t -> Layout.t
47 val localOffset: unit -> Time.t
49 val month: t -> Month.t
51 val offset: t -> Time.t option
52 val scan: 'a * (char, 'a) StringCvt.reader -> (t * 'a) option
54 val toString: t -> string
55 val toTime: t -> Time.t
56 val weekDay: t -> Weekday.t