uCosminexus Stream Data Platform - Application Framework Application Development Guide
java.lang.Object
|-java.util.Date
|-jp.co.Hitachi.soft.sdp.common.util.StreamTime
The StreamTime class is an expansion of the Date class.
This class is used to process time information for a tuple.
The following table shows the StreamTime class method list.
| Return value | Method name | Function |
|---|---|---|
| boolean | equals(StreamTime when) | Determines if a tuple's own time matches the time indicated by the StreamTime type object specified in the parameter. |
| long | getTimeMillis() | Acquires the time (in milliseconds) from a tuple. |
| int | hashCode() | Acquires the hash code that indicates the tuple. |
| java.lang.String | toString() | Converts the time information in a tuple into a string and acquires it. |
None.
All Rights Reserved. Copyright (C) 2011, Hitachi, Ltd.