Try OpenEdge Now
skip to main content
Application Developer's Guide
Using the Rule Wizard framework : Standard macro types : Macro type: date-expression
 

Macro type: date-expression

Allows the user to enter a date or a duration.

Properties

Name
Value
defaultProperty
A time interval expressed as either:
*A valid rule language expression (YEAR:2000/MONTH:12/DAY:31/HOUR:12/MIN:00/SEC:00) if the user entered a date.
*NOW + 3*DAYS if the user entered a 3 day duration.
stringValue
A time interval expressed as either:
*A valid rule language expression (YEAR:2000/MONTH:12/DAY:31/HOUR:12/MIN:00/SEC:00) if the user entered a date.
*NOW + 3*DAYS if the user entered a 3 day duration.

Input properties

Name
Value
timeOutExpressedAs
Valid values are date and duration according to what the user entered as an absolute date value or a duration.
businessTime
Valid values are true and false. According to these values, the duration is measured as business time or ordinary time.
durationArray
A vector property containing the values which define the duration: durationArray [0]= no of daysdurationArray [1]= no of hoursdurationArray [2]= no of mindurationArray [3]= no of sec. The value -1 is a placeholder for an invalid value.
year
The components of the date value.
month
day
hour
minute
second