DailyRecurrence Class

public final class DailyRecurrence
extends Recurrence

Daily recurrence object.

Constructor Summary

Constructor Description
DailyRecurrence()

Creates an instance of DailyRecurrence class.

Method Summary

Modifier and Type Method and Description
static DailyRecurrence fromJson(JsonReader jsonReader)

Reads an instance of DailyRecurrence from the JsonReader.

RecurrenceType recurrenceType()

Get the recurrenceType property: Specifies when the recurrence should be applied.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DailyRecurrence withEndTime(String endTime)

Set the endTime property: End time for recurrence.

DailyRecurrence withStartTime(String startTime)

Set the startTime property: Start time for recurrence.

Methods inherited from Recurrence

Methods inherited from java.lang.Object

Constructor Details

DailyRecurrence

public DailyRecurrence()

Creates an instance of DailyRecurrence class.

Method Details

fromJson

public static DailyRecurrence fromJson(JsonReader jsonReader)

Reads an instance of DailyRecurrence from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DailyRecurrence if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the DailyRecurrence.

recurrenceType

public RecurrenceType recurrenceType()

Get the recurrenceType property: Specifies when the recurrence should be applied.

Overrides:

DailyRecurrence.recurrenceType()

Returns:

the recurrenceType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DailyRecurrence.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

DailyRecurrence.validate()

withEndTime

public DailyRecurrence withEndTime(String endTime)

Set the endTime property: End time for recurrence.

Overrides:

DailyRecurrence.withEndTime(String endTime)

Parameters:

endTime

withStartTime

public DailyRecurrence withStartTime(String startTime)

Set the startTime property: Start time for recurrence.

Overrides:

DailyRecurrence.withStartTime(String startTime)

Parameters:

startTime

Applies to