@twiz/time
v0.2.3
Published
Twiz javascript time utilities
Downloads
3
Readme
Twiz Time
Instant Class
Instant represents a specific point in time.
Takes an object with several possible formats:
- Object
Date
javascript object
Interval Class
Represents the interval between two points in time.
Duration Class
Represents a length of time. Eg. 1 month, 1 day.
Period Class
Something that happens in a repetitive pattern. Like New year's day.
To do:
- Implement Duration or Period Class
- Write Missing Tests
Inspired by Maggie Pint's "Temporal Proposal".