|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jour.util.TimeUtil
public class TimeUtil
TODO Add docs
Created on 04.12.2004
Contributing Author(s):
Misha Lifschitz
Field Summary
static boolean
debug
protected static Logger
log
Constructor Summary
TimeUtil()
Method Summary
static double
calendar2timeStamp(java.util.Calendar calendar)
static void
dayEnd(java.util.Calendar calendar)
static void
dayStart(java.util.Calendar calendar)
static java.lang.String
formatDurationHHMM(double milliseconds)
static java.lang.String
formatDurationHHMMSS(double milliseconds)
static double
string2MTimeSec(java.lang.String str)
static double[]
string2TimeInterval(java.lang.String comp)
static int
string2TimeSec(java.lang.String str)
static double
string2TimeStamp(java.lang.String str)
static java.lang.String
timeSec2string(long sec)
static java.util.Calendar
timeStamp2calendar(double timeStamp)
static java.lang.String
timeStamp2dateString(double timeStamp)
static java.lang.String
timeStamp2string(double timeStamp)
static void
trunc(java.util.Calendar calendar)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field Detail
log
protected static final Logger log
debug
public static final boolean debug
Constructor Detail
TimeUtil
public TimeUtil()
Method Detail
string2TimeSec
public static int string2TimeSec(java.lang.String str)
string2MTimeSec
public static double string2MTimeSec(java.lang.String str)
timeSec2string
public static java.lang.String timeSec2string(long sec)
formatDurationHHMM
public static java.lang.String formatDurationHHMM(double milliseconds)
formatDurationHHMMSS
public static java.lang.String formatDurationHHMMSS(double milliseconds)
trunc
public static void trunc(java.util.Calendar calendar)
dayStart
public static void dayStart(java.util.Calendar calendar)
dayEnd
public static void dayEnd(java.util.Calendar calendar)
string2TimeStamp
public static double string2TimeStamp(java.lang.String str)
timeStamp2string
public static java.lang.String timeStamp2string(double timeStamp)
timeStamp2dateString
public static java.lang.String timeStamp2dateString(double timeStamp)
timeStamp2calendar
public static java.util.Calendar timeStamp2calendar(double timeStamp)
calendar2timeStamp
public static double calendar2timeStamp(java.util.Calendar calendar)
string2TimeInterval
public static double[] string2TimeInterval(java.lang.String comp)
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
Copyright © 2004-2008 pyx4j.com. All Rights Reserved.