Use Time enumeration

This commit is contained in:
Romain Vigier
2021-08-26 11:05:10 +02:00
parent 21362c9652
commit c0d1f13022
17 changed files with 153 additions and 95 deletions
+11
View File
@@ -0,0 +1,11 @@
// SPDX-FileCopyrightText: 2021 Romain Vigier <contact AT romainvigier.fr>
// SPDX-License-Identifier: GPL-3.0-or-later
/**
* Time is an enumeration of the possible time values.
*/
var Time = {
UNKNOWN: 'unknown',
DAY: 'day',
NIGHT: 'night',
};