Java Second to Minute toMinutes(long date)

Here you can find the source of toMinutes(long date)

Description

to Minutes

License

LGPL

Declaration

private static long toMinutes(long date) 

Method Source Code

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

public class Main {
    private static long toMinutes(long date) {
        return toSeconds(date) / 60L;
    }/*w ww . j av a 2  s .  co m*/

    private static long toSeconds(long date) {
        return date / 1000L;
    }
}

Related

  1. timeToMinutes(String in)
  2. toDecimal(long seconds, int nanoseconds)
  3. toDecimal(long seconds, int nanoseconds)
  4. toMinutes(int hour, int minutes)
  5. toMinutes(int s)
  6. toMinutes(long millis)