org.apache.yoko.orb.OB
Class TimeHelper
java.lang.Object
org.apache.yoko.orb.OB.TimeHelper
public class TimeHelper
- extends Object
Method Summary |
static UtcT |
add(long t,
UtcT a)
|
static UtcT |
add(UtcT a,
long t)
|
static boolean |
equal(UtcT a,
UtcT b)
|
static boolean |
greaterThan(UtcT a,
UtcT b)
|
static boolean |
greaterThanEqual(UtcT a,
UtcT b)
|
static boolean |
lessThan(UtcT a,
UtcT b)
|
static boolean |
lessThanEqual(UtcT a,
UtcT b)
|
static boolean |
notEqual(UtcT a,
UtcT b)
|
static UtcT |
subtract(UtcT a,
long t)
|
static IntervalT |
toIntervalT(long time,
long inaccuracy)
|
static long |
toJavaMillis(long time)
|
static long |
toJavaMillis(UtcT utc)
|
static String |
toString(long time)
|
static String |
toString(UtcT time)
|
static String |
toTimeString(UtcT time)
|
static UtcT |
toUtcT(IntervalT inter)
|
static UtcT |
toUtcT(long time,
long inaccuracy)
|
static UtcT |
toUtcT(long time,
long inaccuracy,
short tdf)
|
static UtcT |
utcMax()
|
static UtcT |
utcMin()
|
static UtcT |
utcNow(long inaccuracy)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MaxTimeT
public static final long MaxTimeT
- See Also:
- Constant Field Values
MaxInaccuracyT
public static final long MaxInaccuracyT
- See Also:
- Constant Field Values
TimeHelper
public TimeHelper()
utcNow
public static UtcT utcNow(long inaccuracy)
utcMin
public static UtcT utcMin()
utcMax
public static UtcT utcMax()
toJavaMillis
public static long toJavaMillis(UtcT utc)
toJavaMillis
public static long toJavaMillis(long time)
toIntervalT
public static IntervalT toIntervalT(long time,
long inaccuracy)
toUtcT
public static UtcT toUtcT(long time,
long inaccuracy,
short tdf)
toUtcT
public static UtcT toUtcT(long time,
long inaccuracy)
toUtcT
public static UtcT toUtcT(IntervalT inter)
toString
public static String toString(UtcT time)
toTimeString
public static String toTimeString(UtcT time)
toString
public static String toString(long time)
lessThan
public static boolean lessThan(UtcT a,
UtcT b)
lessThanEqual
public static boolean lessThanEqual(UtcT a,
UtcT b)
greaterThan
public static boolean greaterThan(UtcT a,
UtcT b)
greaterThanEqual
public static boolean greaterThanEqual(UtcT a,
UtcT b)
equal
public static boolean equal(UtcT a,
UtcT b)
notEqual
public static boolean notEqual(UtcT a,
UtcT b)
add
public static UtcT add(UtcT a,
long t)
add
public static UtcT add(long t,
UtcT a)
subtract
public static UtcT subtract(UtcT a,
long t)
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.