Here you can find the source of getRemainingMinutes(final long ms)
public static long getRemainingMinutes(final long ms)
//package com.java2s; //License from project: Open Source License public class Main { public static long getRemainingMinutes(final long ms) { return ms / 1000 / 60 % 60; }/* ww w . j a v a 2 s . co m*/ }