Here you can find the source of min2msec(int min)
Parameter | Description |
---|---|
min | time as minute |
public static long min2msec(int min)
//package com.java2s; /*/* w w w .ja va 2 s. c om*/ License: blueprint-sdk is licensed under the terms of Eclipse Public License(EPL) v1.0 (http://www.eclipse.org/legal/epl-v10.html) Distribution: Repository - https://github.com/lempel/blueprint-sdk.git Blog - http://lempel.egloos.com */ public class Main { /** * converts minute to millisecond * * @param min time as minute * @return time as millisecond */ public static long min2msec(int min) { return sec2msec(min * 60); } /** * @param sec time as second * @return time as millisecond */ public static long sec2msec(int sec) { return sec * 1000; } }