Package net.risingworld.api.objects
Class Time
java.lang.Object
net.risingworld.api.objects.Time
Represents the ingame time and date.
-
Method Details
-
getSeconds
public int getSeconds()Gets the seconds (0-59)- Returns:
- the seconds.
-
getMinutes
public int getMinutes()Gets the minutes (0-59)- Returns:
- the minutes.
-
getHours
public int getHours()Gets the hours (0-23)- Returns:
- the hours.
-
getDay
public int getDay()Gets the day (0-31)- Returns:
- the day.
-
getMonth
public int getMonth()Gets the month (1-12)- Returns:
- the month.
-
getYear
public int getYear()Gets the current year (initial year is 0)- Returns:
- the year.
-
getTime
-