changes.mady.by.user Adrian adrianc
Saved on Mar 30, 2012
...
<set-calendar>
<set-calendar field="tomorrowStamp" from-field="nowTimestamp" day="1" /> <set-calendar field="yesterdayStamp" from-field="nowTimestamp" day="-1" />
Attributes
field
optional
The name of the field to set (the l-value)
from-field
The name of a field to copy from (the r-value)
value
A constant value
default-value
A default constant value - used if from-field evaluates to null
type
The Java data type of field
years
A signed integer adjustment amount
months
days
hours
minutes
seconds
millis
period-align-start
Set the adjusted Timestamp to period start: "day", "week", "month", "year"
period-align-end
Set the adjusted Timestamp to period end: "day", "week", "month", "year"
locale
The locale to be used for the operation
time-zone
The time zone to be used for the operation