diff options
author | Iván Ávalos <avalos@disroot.org> | 2022-04-12 00:24:14 -0500 |
---|---|---|
committer | Iván Ávalos <avalos@disroot.org> | 2022-04-12 00:24:14 -0500 |
commit | 10cb1152a2cb76609e6f65a0e7a2690013d3de16 (patch) | |
tree | e12dd86d31fbc4e9dfa672a093efce52ec9dc836 /shared/src/commonMain/kotlin/mx/trackermap/TrackerMap | |
parent | 546738888395565ac2d5fe2cfb941ecdd0c1df45 (diff) | |
download | etbsa-trackermap-mobile-10cb1152a2cb76609e6f65a0e7a2690013d3de16.tar.gz etbsa-trackermap-mobile-10cb1152a2cb76609e6f65a0e7a2690013d3de16.tar.bz2 etbsa-trackermap-mobile-10cb1152a2cb76609e6f65a0e7a2690013d3de16.zip |
Initial version of custom reports in iOS
Diffstat (limited to 'shared/src/commonMain/kotlin/mx/trackermap/TrackerMap')
-rw-r--r-- | shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/utils/ReportDates.kt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/utils/ReportDates.kt b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/utils/ReportDates.kt index 6c86d27..5298df3 100644 --- a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/utils/ReportDates.kt +++ b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/utils/ReportDates.kt @@ -22,6 +22,17 @@ import kotlinx.datetime.* @DelicateCoroutinesApi class ReportDates { + enum class PeriodTypes { + TODAY, + LAST_24, + YESTERDAY, + THIS_WEEK, + LAST_7, + THIS_MONTH, + LAST_30, + CUSTOM + } + sealed class ReportPeriod { val timezone = TimeZone.currentSystemDefault() val clock = Clock.System |