Java Minute Get getMinuteInt(long time)

Here you can find the source of getMinuteInt(long time)

Description

get Minute Int

License

Open Source License

Declaration

public static int getMinuteInt(long time) 

Method Source Code

//package com.java2s;

public class Main {
    public static int getMinuteInt(long time) {
        if (time > (60 * 60)) {
            return (int) ((time % (60 * 60)) / (60));
        } else {/*from   www  . j a  v  a  2  s . co  m*/
            return (int) (time / (60));
        }
    }
}

Related

  1. getMinuteCa(Date d1, Date d2)
  2. getMinuteDate(String date, String formatFormat)
  3. getMinuteFromHMS(String hms)
  4. getMinuteFromMilliSecond(int milliSecond)
  5. getMinuteFromTime(Long timeInMilliseconds)
  6. getMinuten(boolean mitBlank)
  7. getMinuteOfDay(Date date)
  8. getMinuteOfHour(String dateKey)
  9. getMinutePeriod(int time, int period)