RecurrenceFrequency Class

public final class RecurrenceFrequency
extends ExpandableStringEnum<RecurrenceFrequency>

The recurrence frequency.

Field Summary

Modifier and Type Field and Description
static final RecurrenceFrequency DAY

Static value Day for RecurrenceFrequency.

static final RecurrenceFrequency HOUR

Static value Hour for RecurrenceFrequency.

static final RecurrenceFrequency MINUTE

Static value Minute for RecurrenceFrequency.

static final RecurrenceFrequency MONTH

Static value Month for RecurrenceFrequency.

static final RecurrenceFrequency NOT_SPECIFIED

Static value NotSpecified for RecurrenceFrequency.

static final RecurrenceFrequency SECOND

Static value Second for RecurrenceFrequency.

static final RecurrenceFrequency WEEK

Static value Week for RecurrenceFrequency.

static final RecurrenceFrequency YEAR

Static value Year for RecurrenceFrequency.

Constructor Summary

Constructor Description
RecurrenceFrequency()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RecurrenceFrequency value.

Method Summary

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

Creates or finds a RecurrenceFrequency from its string representation.

static Collection<RecurrenceFrequency> values()

Gets known RecurrenceFrequency values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DAY

public static final RecurrenceFrequency DAY

Static value Day for RecurrenceFrequency.

HOUR

public static final RecurrenceFrequency HOUR

Static value Hour for RecurrenceFrequency.

MINUTE

public static final RecurrenceFrequency MINUTE

Static value Minute for RecurrenceFrequency.

MONTH

public static final RecurrenceFrequency MONTH

Static value Month for RecurrenceFrequency.

NOT_SPECIFIED

public static final RecurrenceFrequency NOT_SPECIFIED

Static value NotSpecified for RecurrenceFrequency.

SECOND

public static final RecurrenceFrequency SECOND

Static value Second for RecurrenceFrequency.

WEEK

public static final RecurrenceFrequency WEEK

Static value Week for RecurrenceFrequency.

YEAR

public static final RecurrenceFrequency YEAR

Static value Year for RecurrenceFrequency.

Constructor Details

RecurrenceFrequency

@Deprecated
public RecurrenceFrequency()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RecurrenceFrequency value.

Method Details

fromString

public static RecurrenceFrequency fromString(String name)

Creates or finds a RecurrenceFrequency from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding RecurrenceFrequency.

values

public static Collection values()

Gets known RecurrenceFrequency values.

Returns:

known RecurrenceFrequency values.

Applies to