aboutsummaryrefslogtreecommitdiff
path: root/src/ics.ml
diff options
context:
space:
mode:
authorAlban Gruin2020-09-09 21:00:29 +0200
committerAlban Gruin2020-09-09 21:51:22 +0200
commitd4c1438505ff79e3607ed5d2eb2ee8fbe203b298 (patch)
treea37a8392ea3fcfb2f3c35b5bdd2892720e20d623 /src/ics.ml
parent5798c185bfa225a566af3f3bf6b7db2b73d816b1 (diff)
course, ics: proper modules, proper datetime storage
Signed-off-by: Alban Gruin <alban at pa1ch dot fr>
Diffstat (limited to 'src/ics.ml')
-rw-r--r--src/ics.ml26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/ics.ml b/src/ics.ml
new file mode 100644
index 0000000..5bfecb0
--- /dev/null
+++ b/src/ics.ml
@@ -0,0 +1,26 @@
+(*
+ * Copyright (C) 2020 Alban Gruin
+ *
+ * ucs is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * ucs is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with ucs. If not, see <http://www.gnu.org/licenses/>.
+ *)
+
+open CalendarLib
+
+type event = {
+ start: Calendar.t;
+ stop: Calendar.t;
+ summary: string;
+ category: string;
+ location: string
+ }