List of utility methods to do Minute Validate
void | validateHoursAndMinutes(int hours, int minutes) Checks that hour and minutes within conventional 24 hour clock bounds. if ((minutes >= 60 || minutes < 0) || (hours >= 24 || hours < 0)) { throw new NumberFormatException(); |
void | validateMinute(int minute) validate Minute if (minute < 0 || minute > 59) { throw new IllegalArgumentException("Invalid minute (must be >= 0 and <= 59)."); |
String | valueOfMinute(long time) value Of Minute long d = time / (24 * 60); long h = (time % (24 * 60)) / 60; long m = (time % (24 * 60)) % 60; String value = d + "Basic_day" + ":" + h + "Basic_hour" + ":" + m + "Basic_min"; return value; |