tamino.SXS.xsd
Class xsd

tamino.SXS.xsd.xsd

public class xsd

xsd data type support for queries


Constructor Summary
xsd()
          The default constructor (No other constructor allowed.)
 
Method Summary
 java.lang.String current()
          current() - return current data as ISO 8601 string
 int dtComp(java.lang.String op1, java.lang.String op2)
          comparison of XSD (ISO 8601) date/time
 

Constructor Detail

xsd

public xsd()
The default constructor (No other constructor allowed.)
Method Detail

current

public java.lang.String current()
current() - return current data as ISO 8601 string
Returns:
formatted string with current date and time (yyyy-MM-dd'T'HH:mm:ss)

dtComp

public int dtComp(java.lang.String op1,
                  java.lang.String op2)
           throws java.text.ParseException
comparison of XSD (ISO 8601) date/time
Parameters:
op1 - date1 (XML Schema date, dateTime, time)
op2 - date2 (XML Schema date, dateTime, time)
Returns:
comparison result: -1 (op1 < op2), 0 (op1 = op2), 1 (op1 > op2)