Skip to content

TiCK3R/timer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

timer

A Java library for time management.

Usage

To use this library you must create an instance of pw/latematt/timer/Timer as such:
Timer timer = new Timer();
Once you create the instance, it keeps track of the milliseconds between it's creation and the system's current time.

To convert milliseconds to other time measurements (seconds, minutes, hours, etc.) you would use pw/latematt/timer/convert/TimeConverter as such:
TimeConverter converter = new TimeConverter()
Now, you can convert any method from Timer into a supported measure of time.

Installation

Maven users:

<repositories>
    <repository>
        <id>latematt</id>
        <name>latematt's Repository</name>
        <url>http://latematt.pw/maven</url>
    </repository>
</repositories>

<dependencies>
    <dependency>
	    <groupId>pw.latematt.timer</groupId>
	    <artifactId>timer</artifactId>
	    <version>1.1</version>
	</dependency>
</dependencies>

Otherwise, download the latest release from here and import as a library in your IDE.

About

A Java library for time management.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Java 100.0%