A .NET Core implementation of the Java java.util.concurrent.TimeUnit class.
Import the package:
using BAMCIS.Util.Concurrent;
A simple example:
long Seconds = TimeUnit.SECONDS.Convert(10, TimeUnit.MINUTES);
This converts 10 minutes into seconds, which results in 600. You can also convert time units like this:
long Millis = TimeUnit.MINUTES.ToMilliseconds(1);
You can also perform wait operations:
TimeUnit.SECONDS.Sleep(5);
This will cause the thread to sleep for 5 seconds.
Added strong name signing.
Fixed namespace issue.
Initial release of the library.