Here you can find the source of valueOfMinute(long time)
public static String valueOfMinute(long time)
//package com.java2s; /**/*w ww.j ava 2s . c o m*/ * Copyright 2009-2010 GBCOM Co.,Ltd. All rights reserved. * GB PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ public class Main { public static String valueOfMinute(long time) { long d = time / (24 * 60); long h = (time % (24 * 60)) / 60; long m = (time % (24 * 60)) % 60; String value = d + "Basic_day" + ":" + h + "Basic_hour" + ":" + m + "Basic_min"; return value; } }