List of utility methods to do Minute Convert
int | minutesToTicks(int minutes) Converts units of time given in real world minutes into game ticks There are 20 ticks per second so ticks = (minutes * 60) * 20 return (minutes * 60) * 20;
|
String | minutesToTime(int inTime) Convert a time code in minutes to a time String if (inTime < 0) { return ""; int min = inTime % 60; inTime /= 60; int hour = inTime; String H = ("00" + Integer.toString(hour)); H = H.substring(H.length() - 2); ... |
long | minuteToMillis(long minute) minute To Millis if (minute < 0L) { return 0L; return minute * 60000L; |
String | minuteToTime(int minute) minute To Time int hour = minute / 60; boolean pm = false; if (hour >= 12) { hour -= 12; pm = true; if (hour == 0) { hour = 12; ... |
boolean | onMinute(int minute) Used to check if the current minutes is on the time multiple of the given variable return minutes() % minute == 0;
|