uCosminexus Stream Data Platform - Application Framework Application Development Guide

[Contents][Index][Back][Next]

toString() method

Format

java.lang.String toString()

Explanation

Converts the time information in the tuple to a string and acquires it.

Parameters

None.

Exceptions

None.

Return value

String expression obtained by converting the time in the tuple to the format shown below (java.lang.String type. [Figure] indicates a single-byte space)

aaa[Figure]bbb[Figure]cc[Figure]dd:ee:ff[Figure]ggg[Figure]hhhh[timeMillis:iii]

The following table describes the output.

Output item Description Output format (range)
aaa Day of the week Sun, Mon, Tue, Wed, Thu, Fri, or Sat
bbb Month Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, or Dec
cc Day A two-digit decimal number (01 to 31)
dd Hour A two-digit decimal number (00 to 23)
ee Minute A two-digit decimal number (00 to 59)
ff Second A two-digit decimal number (00 to 59)
ggg Time zone The time zone if specified.
Spaces if no time zone is specified
hhhh Year A four-digit decimal number
iii The time (in milliseconds) kept by the object The time (in milliseconds) from the object

An output example follows:

"Thu Jan 01 09:00:01 GMT 1970[timeMillis:1234]"