Datespan

public final class Datespan extends When

Class representation of a specific dates without clock-based start or end times. A business quarter or academic semester would be represented as datespan subobjects.

Constructors

Link copied to clipboard
public When.Datespan When.Datespan(@Json(name = "start_date") String startDate, @Json(name = "end_date") String endDate)

Properties

Link copied to clipboard
private final String endDate

The end date in ISO 8601 format.

Link copied to clipboard
private final String startDate

The start date in ISO 8601 format.

Functions

Link copied to clipboard
public final String getEndDate()

The end date in ISO 8601 format.

Link copied to clipboard
public final WhenType getObject()

Returns the WhenType of this When object.

Link copied to clipboard
public final String getStartDate()

The start date in ISO 8601 format.