package tiny_appkits

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module IcsSource

Sourcetype moment = {
  1. date : Civil.date;
  2. time : int option;
  3. utc : bool;
}
Sourcetype event = {
  1. uid : string;
  2. summary : string;
  3. description : string;
  4. location : string;
  5. start : moment;
  6. end_ : moment option;
  7. rrule : Recur.rule option;
}
Sourcetype todo = {
  1. uid : string;
  2. summary : string;
  3. due : moment option;
  4. priority : int;
  5. completed : bool;
}
Sourcetype calendar = {
  1. events : event list;
  2. todos : todo list;
}
Sourceval occurrences : event -> from:Civil.date -> upto:Civil.date -> Civil.date list
Sourceval of_string : string -> calendar
Sourceval to_string : stamp:moment -> calendar -> string
Sourceval unfold : string -> string list
Sourceval fold : string -> string
Sourceval content_line : string -> (string * (string * string) list * string) option
Sourceval escape : string -> string
Sourceval unescape : string -> string
Sourceval moment_of_string : string -> moment option
Sourceval moment_to_string : moment -> string
Sourceval rule_of_string : string -> Recur.rule option
Sourceval rule_to_string : Recur.rule -> string