public interface PropertyArrayDateTime
PropertyAtomDateTime
.Modifier and Type | Method and Description |
---|---|
int |
add(java.util.Calendar value)
Creates a
PropertyAtomDateTime with the given Calendar
and appends it to the array. |
void |
add(int index,
java.util.Calendar value)
Creates a
PropertyAtomDateTime with the given Calendar
and inserts it into the array at the specified position. |
PropertyAtomDateTime |
removePropertyAtom(java.util.Calendar value)
Removes the first
PropertyAtomDateTime with the given value
that is found in this array. |
void |
set(int index,
java.util.Calendar value)
Sets the
PropertyAtomDateTime at the given index to the given Calendar . |
int add(java.util.Calendar value)
PropertyAtomDateTime
with the given Calendar
and appends it to the array.value
- the Calendar
to add.void add(int index, java.util.Calendar value)
PropertyAtomDateTime
with the given Calendar
and inserts it into the array at the specified position.
This method shifts the PropertyAtomDateTime
currently at
that position (if any) and any subsequent PropertyAtomDateTime
to the right
(i.e. adds one to their indices).index
- the position at which to insert.value
- the Calendar
to add.java.lang.IndexOutOfBoundsException
- - if the index is less than zero or more than the size of the array.PropertyAtomDateTime removePropertyAtom(java.util.Calendar value)
PropertyAtomDateTime
with the given value
that is found in this array.
This method shifts all the subsequent array elements to the left
(i.e. substracts one to their indices).
It returns null if no matching value is found.value
- the Calendar
to search for in the array.PropertyAtomDateTime
, or null if none matched.void set(int index, java.util.Calendar value)
PropertyAtomDateTime
at the given index to the given Calendar
.
If index == length
, this method will call add(index, value)
instead.index
- the index at which the value is to be set.value
- the Calendar
to set at the index.java.lang.IndexOutOfBoundsException
- - if the index is less than zero or more than the current size of the array.