Skip to content

Commit ae18299

Browse files
committed
chore: milliseconds
1 parent 62ea9c7 commit ae18299

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/kotlin/spp/protocol/artifact/metrics/MetricStep.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,7 @@ enum class MetricStep(val formatter: DateTimeFormatter) {
3838
HOUR -> 3600
3939
DAY -> 86400
4040
}
41+
42+
val milliseconds: Int
43+
get() = seconds * 1000
4144
}

0 commit comments

Comments
 (0)