Package dev.jorel.commandapi.wrappers
Class Time
java.lang.Object
dev.jorel.commandapi.wrappers.Time
-
Method Summary
Modifier and TypeMethodDescriptionstatic Timedays(int days) Create a Time object with a given number of daysbooleaninthashCode()static Timeseconds(int seconds) Create a Time object with a given number of secondsstatic Timeticks(int ticks) Create a Time object with a given number of tickstoString()
-
Method Details
-
ticks
Create a Time object with a given number of ticks- Parameters:
ticks- the number of ticks to use- Returns:
- a Time object representing ticks (t)
-
days
Create a Time object with a given number of days- Parameters:
days- the number of days to use- Returns:
- a Time object representing days (d)
-
seconds
Create a Time object with a given number of seconds- Parameters:
seconds- the number of seconds to use- Returns:
- a Time object representing seconds (s)
-
toString
-
hashCode
-
equals
-