public interface Time
| Modifier and Type | Interface and Description | 
|---|---|
| static class  | Time.MoonPhase | 
| static class  | Time.Unit | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getDay()Gets the day (0-31) | 
| int | getHours()Gets the hours (0-23) | 
| int | getMinutes()Gets the minutes (0-59) | 
| int | getMonth()Gets the month (1-12) | 
| Time.MoonPhase | getMoonPhase()Gets the current moon phase. | 
| int | getSeconds()Gets the seconds (0-59) | 
| int | getTime(Time.Unit unit) | 
| int | getYear()Gets the current year (initial year is 0) | 
int getSeconds()
int getMinutes()
int getHours()
int getDay()
int getMonth()
int getYear()
int getTime(Time.Unit unit)
Time.MoonPhase getMoonPhase()