Java Minute Get getMinutesDiff(long from, long to)

Here you can find the source of getMinutesDiff(long from, long to)

Description

get Minutes Diff

License

Apache License

Declaration

public static long getMinutesDiff(long from, long to) 

Method Source Code

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

public class Main {
    public static final long MINUTE = 60 * 1000;

    public static long getMinutesDiff(long from, long to) {
        long delta = to - from;
        return delta / MINUTE;
    }/*from ww  w  . j  a v a2  s .  c  om*/
}

Related

  1. getMinutes(int minutes)
  2. getMinutes(long time)
  3. getMinutes(String hora)
  4. getMinutes(String time)
  5. getMinutes(String time, int defaultValue)
  6. getMinutesInSecWOHours(long sec)
  7. getMinutesOfTowDiffDate(String p_startDate, String p_endDate)
  8. getMinutesRapp(long microseconds)
  9. getMinutesSeconds(long millisec, String fmt)