diff options
| author | Adelyn Breedlove <[email protected]> | 2019-03-02 18:30:46 -0700 |
|---|---|---|
| committer | Adelyn Breedlove <[email protected]> | 2019-03-02 18:30:46 -0700 |
| commit | 6163027a715b31d87e1f8e4fde8f7f3b4db2bc42 (patch) | |
| tree | d84b6f956fd43d8a3bb2dff3a1bde9e27dcc1cc2 /lib/models/snowflake.mli | |
| parent | Style improvements who dis (diff) | |
| download | disml-6163027a715b31d87e1f8e4fde8f7f3b4db2bc42.tar.xz disml-6163027a715b31d87e1f8e4fde8f7f3b4db2bc42.zip | |
Initial Lwt changes. Successfully compiles
Diffstat (limited to 'lib/models/snowflake.mli')
| -rw-r--r-- | lib/models/snowflake.mli | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/models/snowflake.mli b/lib/models/snowflake.mli index 0c42e4a..1f3622c 100644 --- a/lib/models/snowflake.mli +++ b/lib/models/snowflake.mli @@ -1,12 +1,10 @@ -open Core
-
-type t = Int.t [@@deriving sexp, yojson { exn = true }]
+type t = Base.Int.t [@@deriving sexp, yojson { exn = true }]
(** Convert a snowflake into a {!Core.Time.t} *)
-val time_of_t : t -> Time.t
+(* val time_of_t : t -> Time.t *)
(** Convert a snowflake into a Unix timestamp. Millisecond precision. *)
val timestamp : t -> int
(** Convert a snowflake into an ISO8601 timestamp string. This is equivalent to calling [Snowflake.time_of_t snowflake |> Time.(to_string_iso8601_basic ~zone:Zone.utc)] *)
-val timestamp_iso : t -> string
\ No newline at end of file +(* val timestamp_iso : t -> string *)
\ No newline at end of file |