| java.lang.Object com.sun.jbi.ui.common.JBITimeUtil
JBITimeUtil | public class JBITimeUtil (Code) | | This object provides utility methods to convert a (long)timestamp value into
String values.
author: Sun Microsystems, Inc. |
DAY_BASE | final public static long DAY_BASE(Code) | | |
HOUR_BASE | final public static long HOUR_BASE(Code) | | |
MIN_BASE | final public static long MIN_BASE(Code) | | |
SEC_BASE | final public static double SEC_BASE(Code) | | |
JBITimeUtil | public JBITimeUtil()(Code) | | |
JBITimeUtil | public JBITimeUtil(long milliseconds)(Code) | | |
getDays | public int getDays()(Code) | | Get the days portion
the number of days |
getHours | public int getHours()(Code) | | Get the hours portion
the number of hours |
getMinutes | public int getMinutes()(Code) | | Get the minutes portion
the number of minutes |
getSeconds | public double getSeconds()(Code) | | Get the seconds with millsecconds portion
the seconds (including milliseconds) |
getSecondsOnly | public int getSecondsOnly()(Code) | | Get the seconds, truncated, no milliseconds
the seconds only |
setTime | public void setTime(long milliseconds)(Code) | | Will set the values for the Days, Hours, Minutes and Seconds, given
the timestamp (milliseconds).
Parameters: milliseconds - the number of milliseconds |
|
|