Java.Util.Calendar.Add Method
Adds the given amount to a Calendar field.

Syntax

[Android.Runtime.Register("add", "(II)V", "GetAdd_IIHandler")]
public abstract void Add ([Android.Runtime.GeneratedEnum] CalendarField field, int value)

Parameters

field
the Calendar field to modify.
value
the amount to add to the field.

Exceptions

TypeReason
Java.Lang.IllegalArgumentExceptionif field is DST_OFFSET or ZONE_OFFSET.

Remarks

Adds the given amount to a Calendar field.

[Android Documentation]

Requirements

Namespace: Java.Util
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1