RecurrenceType Class

public final class RecurrenceType
extends ExpandableStringEnum<RecurrenceType>

Specifies when the recurrence should be applied.

Field Summary

Modifier and Type Field and Description
static final RecurrenceType DAILY

Static value Daily for RecurrenceType.

static final RecurrenceType MONTHLY

Static value Monthly for RecurrenceType.

static final RecurrenceType WEEKLY

Static value Weekly for RecurrenceType.

Constructor Summary

Constructor Description
RecurrenceType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RecurrenceType value.

Method Summary

Modifier and Type Method and Description
static RecurrenceType fromString(String name)

Creates or finds a RecurrenceType from its string representation.

static Collection<RecurrenceType> values()

Gets known RecurrenceType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DAILY

public static final RecurrenceType DAILY

Static value Daily for RecurrenceType.

MONTHLY

public static final RecurrenceType MONTHLY

Static value Monthly for RecurrenceType.

WEEKLY

public static final RecurrenceType WEEKLY

Static value Weekly for RecurrenceType.

Constructor Details

RecurrenceType

@Deprecated
public RecurrenceType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RecurrenceType value.

Method Details

fromString

public static RecurrenceType fromString(String name)

Creates or finds a RecurrenceType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding RecurrenceType.

values

public static Collection<RecurrenceType> values()

Gets known RecurrenceType values.

Returns:

known RecurrenceType values.

Applies to