public class DateTimePattern extends Bean implements Comparable<DateTimePattern>
DateTimeFormatter that can be used as keys in Map and values in Set.SERIALIZED_CLASS_NAME, TYPEXML_SERIALIZED_CLASS_NAME| Constructor and Description |
|---|
DateTimePattern() |
DateTimePattern(String pattern)
Creates a new instance using a date-time pattern for case-insensitive parsing.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(DateTimePattern o) |
boolean |
equals(Object that) |
DateTimeFormatter |
getFormatter() |
String |
getPattern()
Returns the date-time pattern for case-insensitive parsing.
|
int |
hashCode() |
DateTimePattern |
setPattern(String pattern)
Sets the date-time pattern for case-insensitive parsing.
|
String |
toString()
Returns a basic JSON representation of this instance.
|
addExceptionProperties, fromRecord, toRecordclone, finalize, getClass, notify, notifyAll, wait, wait, waitfromArrayValue, fromArrayValue, fromArrayValue, fromJson, fromJson, newInstanceFromRecord, newInstanceFromRecord, toArrayValue, toJson, toJson, toJson, toRecordnewInstanceFromJsonforEachGrandChildElement, fromXml, fromXml, fromXmlElement, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getChildElement, getChildElements, newInstanceFromXml, newInstanceFromXml, setAttribute, toXml, toXml, toXml, toXml, toXml, toXmlElement, writeXml, writeXmladdExceptionProperties, contributeExceptionProperties, contributeExceptionProperties, exception, exception, exceptionpublic DateTimePattern()
public DateTimePattern(String pattern)
DateTimeFormatterBuilder.appendPattern(String).pattern - a date-format pattern for case-insensitive parsing. See DateTimeFormatterBuilder.appendPattern(String).public String getPattern()
DateTimeFormatterBuilder.appendPattern(String).public DateTimePattern setPattern(String pattern)
DateTimeFormatterBuilder.appendPattern(String).pattern - a date-format pattern for case-insensitive parsing. See DateTimeFormatterBuilder.appendPattern(String).public DateTimeFormatter getFormatter()
public int compareTo(DateTimePattern o)
compareTo in interface Comparable<DateTimePattern>Copyright (c) 2006-2025 North Concepts Inc. All Rights Reserved.