T
- type for which to add time support@Deprecated public abstract class TimeSupport<T> extends TypeSupport<T>
Constructor and Description |
---|
TimeSupport(Class<T> clazz)
Deprecated.
Creates a new support for extracting time information from the given
class.
|
Modifier and Type | Method and Description |
---|---|
protected abstract TimeStamp |
extractTimestamp(T object)
Deprecated.
Extracts the time information from the given object.
|
static <T> TimeStamp |
timestampOf(T value)
Deprecated.
Extracts the TimeStamp of the value using the appropriate type support.
|
static <T> org.epics.util.time.Timestamp |
toTimestamp(T value)
Deprecated.
Extracts the TimeStamp of the value using the appropriate type support.
|
addTypeSupport, findTypeSupportFor, getType, getTypeSupportFamily, isTypeDirectlySupported, isTypeSupported, typeSupportsFor
public static <T> TimeStamp timestampOf(T value)
T
- the type of the valuevalue
- the value from which to extract the timestamppublic static <T> org.epics.util.time.Timestamp toTimestamp(T value)
T
- the type of the valuevalue
- the value from which to extract the timestampCopyright © 2012. All Rights Reserved.