aboutsummaryrefslogtreecommitdiff
path: root/src/Model/Timer.elm
diff options
context:
space:
mode:
Diffstat (limited to 'src/Model/Timer.elm')
-rw-r--r--src/Model/Timer.elm27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/Model/Timer.elm b/src/Model/Timer.elm
deleted file mode 100644
index 51d293d..0000000
--- a/src/Model/Timer.elm
+++ /dev/null
@@ -1,27 +0,0 @@
-module Model.Timer
- ( Timer
- , initialTimer
- ) where
-
-import List
-import Time exposing (Time)
-
-import Model.TimerState exposing (..)
-
-type alias Timer =
- { creationTime : Time
- , name : Maybe String
- , initialTime : Time
- , currentTime : Time
- , state : TimerState
- }
-
-initialTimer : Time -> Timer
-initialTimer creationTime =
- let initialTime = 5 * 60 * 1000
- in { creationTime = creationTime
- , name = Nothing
- , initialTime = initialTime
- , currentTime = initialTime
- , state = Idle
- }