Here you can find the source of getFrequencyValueInMinutes(long value)
private static String getFrequencyValueInMinutes(long value)
//package com.java2s; public class Main { private static String getFrequencyValueInMinutes(long value) { if (value > 0) { long numHours = value / (1000 * 60); return String.valueOf(numHours) + " Minutes"; }//from w w w . ja v a2s . c o m return ""; } }