Instance.PropertyArray.appendDateTime()
Signature
void appendDateTime (PropertyArrayDateTime arr, DateTime value, long time)
Description
Creates a new propertyAtomDateTime of value with initial history timestamp time and appends to the end of the
PropertyArray. Use instanceX.arr[instanceX.arr@length] = value for appending with system current time
Parameters
Name | Type | Description |
arr | PropertyArray | A PropertyArray to append an element to. |
value | DateTime | A value to append to the PropertyArray, arr . |
time | long | The initial history timestamp. |
Cautions
Use instanceX.arr[instanceX.arr@length] = value for appending with system current time
Example
Instance.PropertyArray.appendDateTime (concept.dateTimeProperty, DateTime.now (), 1111111111111);
Result is: last element of array concept.dateTimeProperty
contains: {value=10/12/2004,timestamp=1111111111111}
.