Here you can find the source of dayValue2Millisecond(int dayValue)
Parameter | Description |
---|---|
dayValue | a parameter |
public static int dayValue2Millisecond(int dayValue)
//package com.java2s; /*//from w w w . j a va2s . c o m * @(#)Utility.java * * Copyright (c) 2003 DCIVision Ltd * All rights reserved. * * This software is the confidential and proprietary information of DCIVision * Ltd ("Confidential Information"). You shall not disclose such Confidential * Information and shall use it only in accordance with the terms of the license * agreement you entered into with DCIVision Ltd. */ public class Main { /** * 1 day = 1*24*60*60*1000 millisecond. * * @param dayValue * @return */ public static int dayValue2Millisecond(int dayValue) { return (dayValue * 24 * 60 * 60 * 1000); } }