Java Minute Validate valueOfMinute(long time)

Here you can find the source of valueOfMinute(long time)

Description

value Of Minute

License

Open Source License

Declaration

public static String valueOfMinute(long time) 

Method Source Code

//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;

    }
}

Related

  1. validateHoursAndMinutes(int hours, int minutes)
  2. validateMinute(int minute)