Date_Time_Formatter.from_java
Date_Time_Formatter.from_javapatternlocale
Documentation
Creates a formatter from a Java DateTimeFormatter
instance or a text pattern parsed using the Java parser: DateTimeFormatter.ofPattern
. See the Java documentation for explanation of the pattern format: https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/format/DateTimeFormatter.html#patterns
Arguments
pattern
: The pattern string to parse using the Java pattern rules, or an existingDateTimeFormatter
instance.locale
: A locale to use when constructing the formatter from a text pattern. If not specified, defaults toLocale.default
. If passing aDateTimeFormatter
instance and this argument is set, it will overwrite the original locale of that formatter.