TML Messaging Suite  1.1.5
for Java
 All Classes Namespaces Functions Variables Groups Pages
long com.tmlsidex.jni.Sidex.sidex_Variant_New_DateTime ( String  value) throws TmlSidexException

create a variant of type datetime

This function increments the reference counter of the variant. It must be decremented, if the value is no longer used.

      The value must be formatted according to the specification:<br>
      YYYY-MM-DD hh:mm:ss:ttt <br><br>
      YYYY year (0001-9999 / 0000 for undefined)<br>
      MM monst (01-12 / 00 for undefined)<br>
      DD day of month (01-31  / 00 for undefined)<br>
      hh hour (00-23)<br>
      mm minutes (00-59)<br>
      ss seconds (00-59)<br>
      ttt milliseseconds (000-999)<br>
      The date attributes may also be undefined. In that case year, month and day must be set to 0.
Parameters
valueformatted string.
Returns
SIDEX_VARIANT handle.
Exceptions
TmlSidexException