You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by me...@apache.org on 2022/07/28 11:15:27 UTC

[myfaces] branch 2.3-next updated: MYFACES-4439: JavaDoc f:convertDateTime type (#285)

This is an automated email from the ASF dual-hosted git repository.

melloware pushed a commit to branch 2.3-next
in repository https://gitbox.apache.org/repos/asf/myfaces.git


The following commit(s) were added to refs/heads/2.3-next by this push:
     new 0bfd5d3d8 MYFACES-4439: JavaDoc f:convertDateTime type (#285)
0bfd5d3d8 is described below

commit 0bfd5d3d822b8dbb7ec30a6ef0d4d87238bc95bf
Author: Udo Schnurpfeil <lo...@apache.org>
AuthorDate: Thu Jul 28 13:15:23 2022 +0200

    MYFACES-4439: JavaDoc f:convertDateTime type (#285)
    
    Co-authored-by: Udo Schnurpfeil <ud...@irian.eu>
---
 api/src/main/java/javax/faces/convert/DateTimeConverter.java | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/api/src/main/java/javax/faces/convert/DateTimeConverter.java b/api/src/main/java/javax/faces/convert/DateTimeConverter.java
index f9d2283e4..1656b4bb8 100755
--- a/api/src/main/java/javax/faces/convert/DateTimeConverter.java
+++ b/api/src/main/java/javax/faces/convert/DateTimeConverter.java
@@ -620,10 +620,13 @@ public class DateTimeConverter
     }
 
     /**
-     * Specifies whether the date, time, or both should be 
-     * parsed/formatted.  Values include:  date, time, and both.
-     * Default based on setting of timeStyle and dateStyle.
-     * 
+     * Specifies whether the date, time, or both should be
+     * parsed/formatted.
+     * Valid values are: "date", "time", "both", "localDate", "localDateTime", "localTime", "offsetTime",
+     * "offsetDateTime", and "zonedDateTime".
+     * The prefixes "local", "offset", "zoned" are used, when the type of the value is
+     * one of the corresponding Java 8 Date Time API classes.
+     * Default is "date".
      */
     @JSFProperty
     public String getType()