org.bridj
Class TimeT
java.lang.Object
java.lang.Number
org.bridj.TimeT
- All Implemented Interfaces:
- Serializable
public final class TimeT
- extends Number
Wraps a value which size is the same as the 'time_t' C type (defined in time.h)
- Author:
- Olivier
- See Also:
- Serialized Form
|
Field Summary |
static int |
SIZE
|
|
Constructor Summary |
TimeT(long value)
|
SIZE
public static final int SIZE
TimeT
public TimeT(long value)
toDate
public Date toDate()
valueOf
public static TimeT valueOf(long value)
valueOf
public static TimeT valueOf(Date value)
toString
public String toString()
safeIntCast
public static int safeIntCast(long value)
intValue
public int intValue()
- Specified by:
intValue in class Number
longValue
public long longValue()
- Specified by:
longValue in class Number
floatValue
public float floatValue()
- Specified by:
floatValue in class Number
doubleValue
public double doubleValue()
- Specified by:
doubleValue in class Number
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
Copyright © 2009-2013. All Rights Reserved.