main
Last change
on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
450 bytes
|
Rev | Line | |
---|
[d565449] | 1 | 'use strict';
|
---|
| 2 |
|
---|
| 3 | var HoursPerDay = 24;
|
---|
| 4 | var MinutesPerHour = 60;
|
---|
| 5 | var SecondsPerMinute = 60;
|
---|
| 6 | var msPerSecond = 1e3;
|
---|
| 7 | var msPerMinute = msPerSecond * SecondsPerMinute;
|
---|
| 8 | var msPerHour = msPerMinute * MinutesPerHour;
|
---|
| 9 | var msPerDay = 86400000;
|
---|
| 10 |
|
---|
| 11 | module.exports = {
|
---|
| 12 | HoursPerDay: HoursPerDay,
|
---|
| 13 | MinutesPerHour: MinutesPerHour,
|
---|
| 14 | SecondsPerMinute: SecondsPerMinute,
|
---|
| 15 | msPerSecond: msPerSecond,
|
---|
| 16 | msPerMinute: msPerMinute,
|
---|
| 17 | msPerHour: msPerHour,
|
---|
| 18 | msPerDay: msPerDay
|
---|
| 19 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.