summaryrefslogtreecommitdiffstats
path: root/server/src/main/java/com/vaadin/ui/AbstractDateField.java
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/main/java/com/vaadin/ui/AbstractDateField.java')
-rw-r--r--server/src/main/java/com/vaadin/ui/AbstractDateField.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/src/main/java/com/vaadin/ui/AbstractDateField.java b/server/src/main/java/com/vaadin/ui/AbstractDateField.java
index 781848cb19..1198e04d66 100644
--- a/server/src/main/java/com/vaadin/ui/AbstractDateField.java
+++ b/server/src/main/java/com/vaadin/ui/AbstractDateField.java
@@ -826,6 +826,8 @@ public abstract class AbstractDateField<T extends Temporal & TemporalAdjuster &
* @param styleName
* the custom style name(s) for given date, {@code null} to clear
* custom style name(s)
+ *
+ * @since 8.3
*/
public void setDateStyle(LocalDate date, String styleName) {
if (date != null) {
@@ -846,6 +848,7 @@ public abstract class AbstractDateField<T extends Temporal & TemporalAdjuster &
* @return the corresponding style name(s), if any, {@code null} otherwise
*
* @see {@link #setDateStyle(LocalDate, String)}
+ * @since 8.3
*/
public String getDateStyle(LocalDate date) {
if (date == null) {
@@ -861,6 +864,7 @@ public abstract class AbstractDateField<T extends Temporal & TemporalAdjuster &
* @return map from dates to custom style names in each date's calendar cell
*
* @see {@link #setDateStyle(LocalDate, String)}
+ * @since 8.3
*/
public Map<LocalDate, String> getDateStyles() {
HashMap<LocalDate, String> hashMap = new HashMap<>();