Java Minute Get getMinute(long mills)

Here you can find the source of getMinute(long mills)

Description

get Minute

License

Open Source License

Declaration

public static int getMinute(long mills) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

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

    public static int getMinute(long mills) {
        return (int) (mills / ONE_MINUTE_MILLS);
    }//from  w w w .j av  a 2 s  . co  m
}

Related

  1. getMinute()
  2. getMinute(Date date)
  3. getMinute(Date date)
  4. getMinute(Date date)
  5. getMinute(Date date1, Date date2)
  6. getMinute(long time)
  7. getMinute(String time)
  8. getMinuteAfter(Date date, int minute)
  9. getMinuteAsInt(String hourString)