Java Minute shortTimeToMinutes(String time)

Here you can find the source of shortTimeToMinutes(String time)

Description

short Time To Minutes

License

Apache License

Declaration

public static int shortTimeToMinutes(String time) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {

    public static int shortTimeToMinutes(String time) {
        return Integer.parseInt(time.substring(0, 2)) * 60 + Integer.parseInt(time.substring(3, 5));
    }/*from w  ww  .  ja  va2 s. com*/
}

Related

  1. numberOfMinutesForDays(int days)
  2. refineHourMinute(String timeString)
  3. samplesToMinutes(int sampleRate, int samples)
  4. secsToMinutes(long secs)
  5. selectOfToday(int hour, int minute, int second, int millisecond)
  6. sleepToNextMinute()
  7. TimeDeltaString_JustMinutesSecs(long ms)
  8. timeFromMinutes(Long minutes)
  9. toXMinutes(float t)