Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
haskell
simple-media-timestamp
Commits
4d7d6373
Commit
4d7d6373
authored
4 years ago
by
Daniel Firth
Browse files
Options
Download
Email Patches
Plain Diff
Add since docs
parent
a879810e
Pipeline
#144
failed with stage
in 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
src/Media/Timestamp.hs
src/Media/Timestamp.hs
+4
-0
No files found.
src/Media/Timestamp.hs
View file @
4d7d6373
...
...
@@ -11,6 +11,8 @@ module Media.Timestamp
where
-- | Timestamp data type.
--
-- @since 0.1.0.0
data
Time
=
Time
{
hour
::
Int
,
minutes
::
Int
,
...
...
@@ -20,6 +22,8 @@ data Time = Time
deriving
(
Eq
,
Ord
,
Show
)
-- | Interval of two timestamps.
--
-- @since 0.1.0.0
data
Range
=
Range
{
from
::
Time
,
to
::
Time
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help