public static interface Agenda.Appointment
The interface that all appointments must adhere to; you can provide your own implementation. You must either implement the Start & End using the Calendar based or LocalDateTime based methods
Modifier and Type | Method and Description |
---|---|
Agenda.AppointmentGroup |
getAppointmentGroup() |
java.lang.String |
getDescription() |
default java.time.LocalDateTime |
getEndLocalDateTime()
This is what Agenda uses to render the appointments
|
default java.util.Calendar |
getEndTime()
This method is not used by the control, it can only be called when implemented by the user through the default Datetime methods on this interface
|
default java.time.ZonedDateTime |
getEndZonedDateTime()
This is the replacement of Calendar, if you use ZonedDateTime be aware that the default implementations of the LocalDateTime methods in this interface convert LocalDateTime to ZonedDateTime using a rather crude approach
|
java.lang.String |
getLocation() |
default java.time.LocalDateTime |
getStartLocalDateTime()
This is what Agenda uses to render the appointments
|
default java.util.Calendar |
getStartTime()
This method is not used by the control, it can only be called when implemented by the user through the default Datetime methods on this interface
|
default java.time.ZonedDateTime |
getStartZonedDateTime()
This is the replacement of Calendar, if you use ZonedDateTime be aware that the default implementations of the LocalDateTime methods in this interface convert LocalDateTime to ZonedDateTime using a rather crude approach
|
java.lang.String |
getSummary() |
java.lang.Boolean |
isWholeDay() |
void |
setAppointmentGroup(Agenda.AppointmentGroup s) |
void |
setDescription(java.lang.String s) |
default void |
setEndLocalDateTime(java.time.LocalDateTime v)
End is exclusive
|
default void |
setEndTime(java.util.Calendar c)
This method is not used by the control, it can only be called when implemented by the user through the default Datetime methods on this interface
|
default void |
setEndZonedDateTime(java.time.ZonedDateTime v)
End is exclusive
|
void |
setLocation(java.lang.String s) |
default void |
setStartLocalDateTime(java.time.LocalDateTime v)
This is what Agenda uses to render the appointments
|
default void |
setStartTime(java.util.Calendar c)
This method is not used by the control, it can only be called when implemented by the user through the default Datetime methods on this interface
|
default void |
setStartZonedDateTime(java.time.ZonedDateTime v)
This is the replacement of Calendar, if you use ZonedDateTime be aware that the default implementations of the LocalDateTime methods in this interface convert LocalDateTime to ZonedDateTime using a rather crude approach
|
void |
setSummary(java.lang.String s) |
void |
setWholeDay(java.lang.Boolean b) |
java.lang.Boolean isWholeDay()
void setWholeDay(java.lang.Boolean b)
java.lang.String getSummary()
void setSummary(java.lang.String s)
java.lang.String getDescription()
void setDescription(java.lang.String s)
java.lang.String getLocation()
void setLocation(java.lang.String s)
Agenda.AppointmentGroup getAppointmentGroup()
void setAppointmentGroup(Agenda.AppointmentGroup s)
default java.util.Calendar getStartTime()
This method is not used by the control, it can only be called when implemented by the user through the default Datetime methods on this interface
default void setStartTime(java.util.Calendar c)
This method is not used by the control, it can only be called when implemented by the user through the default Datetime methods on this interface
default java.util.Calendar getEndTime()
This method is not used by the control, it can only be called when implemented by the user through the default Datetime methods on this interface
default void setEndTime(java.util.Calendar c)
This method is not used by the control, it can only be called when implemented by the user through the default Datetime methods on this interface
default java.time.ZonedDateTime getStartZonedDateTime()
This is the replacement of Calendar, if you use ZonedDateTime be aware that the default implementations of the LocalDateTime methods in this interface convert LocalDateTime to ZonedDateTime using a rather crude approach
default void setStartZonedDateTime(java.time.ZonedDateTime v)
This is the replacement of Calendar, if you use ZonedDateTime be aware that the default implementations of the LocalDateTime methods in this interface convert LocalDateTime to ZonedDateTime using a rather crude approach
default java.time.ZonedDateTime getEndZonedDateTime()
This is the replacement of Calendar, if you use ZonedDateTime be aware that the default implementations of the LocalDateTime methods in this interface convert LocalDateTime to ZonedDateTime using a rather crude approach
default void setEndZonedDateTime(java.time.ZonedDateTime v)
End is exclusive
default java.time.LocalDateTime getStartLocalDateTime()
This is what Agenda uses to render the appointments
default void setStartLocalDateTime(java.time.LocalDateTime v)
This is what Agenda uses to render the appointments
default java.time.LocalDateTime getEndLocalDateTime()
This is what Agenda uses to render the appointments
default void setEndLocalDateTime(java.time.LocalDateTime v)
End is exclusive