QuarterBukkit

Math Utilities

The class com.quartercode.quarterbukkit.api.MathUtil contains all Math API functions.

Temporal Conversion

For converting time between different units (ticks and millisecondss), you can use the following methods:

public static long getTicks(long millis) // Convert milliseconds to ticks
public static long getMillis(long ticks) // Convert ticks to milliseconds

For more information, you can use the JavaDocs.