This project aim to provide an abstract layer to time related facilities in C#.
Moved to https://github.com/hcoona/OneDotNet/tree/master/Clocks.Net
People use clock in 2 different ways:
- To get a readable timepoint of now. (Simply call
DateTime.Now
) - To get a readable duration. (Call
DateTime.Now
twice & useend - start
to obtain the duration)
People sometimes need to know the feature of clock:
- High resolution or not
- Monotonic or not
People sometimes just want a logical clock indicating the sequence of events instead of a readable timepoint.