C++ Native Functions: com.teracloud.streams.datetime.convert
- public timestamp parseDateTime(rstring ts)
-
Convert formatted timestamp to SPL timestamp.
- Parameters
-
- ts
-
String timestamp to parse.
- Returns
-
SPL timestamp.
- public timestamp parseDateTime(rstring ts, boolean missingTimeExc)
-
Convert formatted timestamp to SPL timestamp.
- Parameters
-
- ts
-
String timestamp to parse.
- missingTimeExc
-
Boolean flag to indicate whether to throw an exception if the timestamp does not include a time. The default is false.
- Returns
-
SPL timestamp.