Package ch.njol.skript.util
Class Time
java.lang.Object
ch.njol.skript.util.Time
- All Implemented Interfaces:
YggdrasilSerializable
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.njol.yggdrasil.YggdrasilSerializable
YggdrasilSerializable.YggdrasilExtendedSerializable, YggdrasilSerializable.YggdrasilRobustEnum, YggdrasilSerializable.YggdrasilRobustSerializable
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Time
public Time() -
Time
public Time(int time)
-
-
Method Details
-
getTicks
public int getTicks()- Returns:
- Ticks in Minecraft time (0 ticks == 6:00)
-
getTime
public int getTime()- Returns:
- Ticks in day time (0 ticks == 0:00)
-
toString
-
toString
-
parse
- Parameters:
s
- The trim()med string to parse- Returns:
- The parsed time of null if the input was invalid
-
hashCode
public int hashCode() -
equals
-