Instance.PropertyArray.removeDateTime()

Signature

boolean removeDateTime (PropertyArrayDateTime arr, DateTime value)

Domain

ACTION, BUI

Description

This method removes the first occurrence of PropertyAtomDateTime for which the current value equals to value from a PropertyArrayDateTime. It returns true and shifts all the subsequent array elements PropertyAtomDateTime to the left (substracts one to their indices) if the PropertyAtomDateTime is found, false otherwise.

Parameters

NameTypeDescription
arrPropertyArrayDateTimeA PropertyArrayDateTime for the action to be performed on.
valueDateTimeCurrent value of the PropertyAtomDateTime for removal.

Returns

TypeDescription
booleanif a PropertyAtomDateTime is removed.

Cautions

none