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

exceptionfactory pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git

commit f50fce5344d53d75eb4d0711c6305ca16a999f49
Author: dan-s1 <[email protected]>
AuthorDate: Fri Jul 19 19:13:38 2024 +0000

    NIFI-13565 Updated Record Date Time Properties to mention DateTimeFormatter
    
    This closes #9096
    
    Signed-off-by: David Handermann <[email protected]>
---
 .../src/main/java/org/apache/nifi/serialization/DateTimeUtils.java  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/nifi-extension-bundles/nifi-extension-utils/nifi-record-utils/nifi-standard-record-utils/src/main/java/org/apache/nifi/serialization/DateTimeUtils.java
 
b/nifi-extension-bundles/nifi-extension-utils/nifi-record-utils/nifi-standard-record-utils/src/main/java/org/apache/nifi/serialization/DateTimeUtils.java
index 03b768a797..98fc42c237 100644
--- 
a/nifi-extension-bundles/nifi-extension-utils/nifi-record-utils/nifi-standard-record-utils/src/main/java/org/apache/nifi/serialization/DateTimeUtils.java
+++ 
b/nifi-extension-bundles/nifi-extension-utils/nifi-record-utils/nifi-standard-record-utils/src/main/java/org/apache/nifi/serialization/DateTimeUtils.java
@@ -25,7 +25,7 @@ public class DateTimeUtils {
         .name("Date Format")
         .description("Specifies the format to use when reading/writing Date 
fields. "
             + "If not specified, Date fields will be assumed to be number of 
milliseconds since epoch (Midnight, Jan 1, 1970 GMT). "
-            + "If specified, the value must match the Java Simple Date Format 
(for example, MM/dd/yyyy for a two-digit month, followed by "
+            + "If specified, the value must match the Java 
java.time.format.DateTimeFormatter format (for example, MM/dd/yyyy for a 
two-digit month, followed by "
             + "a two-digit day, followed by a four-digit year, all separated 
by '/' characters, as in 01/01/2017).")
         .expressionLanguageSupported(ExpressionLanguageScope.NONE)
         .addValidator(new DateTimeFormatValidator())
@@ -36,7 +36,7 @@ public class DateTimeUtils {
         .name("Time Format")
         .description("Specifies the format to use when reading/writing Time 
fields. "
             + "If not specified, Time fields will be assumed to be number of 
milliseconds since epoch (Midnight, Jan 1, 1970 GMT). "
-            + "If specified, the value must match the Java Simple Date Format 
(for example, HH:mm:ss for a two-digit hour in 24-hour format, followed by "
+            + "If specified, the value must match the Java 
java.time.format.DateTimeFormatter format (for example, HH:mm:ss for a 
two-digit hour in 24-hour format, followed by "
             + "a two-digit minute, followed by a two-digit second, all 
separated by ':' characters, as in 18:04:15).")
         .expressionLanguageSupported(ExpressionLanguageScope.NONE)
         .addValidator(new DateTimeFormatValidator())
@@ -47,7 +47,7 @@ public class DateTimeUtils {
         .name("Timestamp Format")
         .description("Specifies the format to use when reading/writing 
Timestamp fields. "
             + "If not specified, Timestamp fields will be assumed to be number 
of milliseconds since epoch (Midnight, Jan 1, 1970 GMT). "
-            + "If specified, the value must match the Java Simple Date Format 
(for example, MM/dd/yyyy HH:mm:ss for a two-digit month, followed by "
+            + "If specified, the value must match the Java 
java.time.format.DateTimeFormatter format (for example, MM/dd/yyyy HH:mm:ss for 
a two-digit month, followed by "
             + "a two-digit day, followed by a four-digit year, all separated 
by '/' characters; and then followed by a two-digit hour in 24-hour format, 
followed by "
             + "a two-digit minute, followed by a two-digit second, all 
separated by ':' characters, as in 01/01/2017 18:04:15).")
         .expressionLanguageSupported(ExpressionLanguageScope.NONE)

Reply via email to