Try OpenEdge Now
skip to main content
Migrating to OpenEdge 11.7
Migrating OpenEdge Business Process Management : Migrating from OpenEdge 11.6.x and earlier releases : Decision step migration : For the DATETIME-TZ dataslot
 
For the DATETIME-TZ dataslot
*For the DATETIME-TZ dataslot
Table 6. Editing a condition expression for the DATETIME-TZ dataslot
Operation
In earlier releases
In 11.7
equals1
Mydtz1.compareTo(Mydtz2)==0
Mydtz1.equals(Mydtz2)
does not equal2
Mydtz1.compareTo(Mydtz2)!=0
!Mydtz1.equals(Mydtz2)
is before3
Mydtz1.compareTo(Mydtz2)<0
com.progress.OpenEdgeDataType
ComparisonUtil.isBefore
(Mydtz1, Mydtz2)
is before or equal to4
Mydtz1.compareTo(Mydtz2)<=0
com.progress.OpenEdgeDataType
ComparisonUtil.isBeforeOrEq
(Mydtz1, Mydtz2)
is after5
Mydtz1.compareTo(Mydtz2)>0
com.progress.OpenEdgeDataType
ComparisonUtil.isAfter
(Mydtz1, Mydtz2)
is after or equal to6
Mydtz1.compareTo(Mydtz2)>=0
com.progress.OpenEdgeDataType
ComparisonUtil.isAfterOrEq
(Mydtz1, Mydtz2)
is unknown7
Mydtz.isNull()
is not unknown8
!Mydtz.isNull()

1 The DateTime literal must be wrapped in the DATETIME-TZ object. For example, new com.progress.lang.DateTimeTz(“2014-01-01T16:22:54.000+05:30").
Note: The DateTime literal must be in OpenEdge format: yyyy-MM-dd'T'HH:mm:ss.SSS('+' |'-')zz:zz.

2 The DateTime literal must be wrapped in the DATETIME-TZ object. For example, new com.progress.lang.DateTimeTz(“2014-01-01T16:22:54.000+05:30").
Note: The DateTime literal must be in OpenEdge format: yyyy-MM-dd'T'HH:mm:ss.SSS('+' |'-')zz:zz.

3 The DateTime literal must be wrapped in the DATETIME-TZ object. For example, new com.progress.lang.DateTimeTz(“2014-01-01T16:22:54.000+05:30").
Note: The DateTime literal must be in OpenEdge format: yyyy-MM-dd'T'HH:mm:ss.SSS('+' |'-')zz:zz.

4 The DateTime literal must be wrapped in the DATETIME-TZ object. For example, new com.progress.lang.DateTimeTz(“2014-01-01T16:22:54.000+05:30").
Note: The DateTime literal must be in OpenEdge format: yyyy-MM-dd'T'HH:mm:ss.SSS('+' |'-')zz:zz.

5 The DateTime literal must be wrapped in the DATETIME-TZ object. For example, new com.progress.lang.DateTimeTz(“2014-01-01T16:22:54.000+05:30").
Note: The DateTime literal must be in OpenEdge format: yyyy-MM-dd'T'HH:mm:ss.SSS('+' |'-')zz:zz.

6 The DateTime literal must be wrapped in the DATETIME-TZ object. For example, new com.progress.lang.DateTimeTz(“2014-01-01T16:22:54.000+05:30").
Note: The DateTime literal must be in OpenEdge format: yyyy-MM-dd'T'HH:mm:ss.SSS('+' |'-')zz:zz.

7 The DateTime literal must be wrapped in the DATETIME-TZ object. For example, new com.progress.lang.DateTimeTz(“2014-01-01T16:22:54.000+05:30").
Note: The DateTime literal must be in OpenEdge format: yyyy-MM-dd'T'HH:mm:ss.SSS('+' |'-')zz:zz.

8 The DateTime literal must be wrapped in the DATETIME-TZ object. For example, new com.progress.lang.DateTimeTz(“2014-01-01T16:22:54.000+05:30").
Note: The DateTime literal must be in OpenEdge format: yyyy-MM-dd'T'HH:mm:ss.SSS('+' |'-')zz:zz.