|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jour.util.TimeUtil
TODO Add docs
Created on 04.12.2004
Contributing Author(s):
Misha Lifschitz
Field Summary
static boolean
debug
protected static org.apache.log4j.Logger
log
(package private) static java.lang.String
timeStampDateFormat
(package private) static java.text.SimpleDateFormat
timeStampDateFormater
(package private) static java.lang.String
timeStampFormat
(package private) static java.text.DecimalFormat
timeStampFormater
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 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)
java.lang.String
timeSec2string(int 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 org.apache.log4j.Logger log
debug
public static final boolean debug
timeStampFormat
static java.lang.String timeStampFormat
timeStampFormater
static java.text.DecimalFormat timeStampFormater
timeStampDateFormat
static java.lang.String timeStampDateFormat
timeStampDateFormater
static java.text.SimpleDateFormat timeStampDateFormater
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 java.lang.String timeSec2string(int sec)
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 sourceforge. All Rights Reserved.