Class Patterns
java.lang.Object
uk.org.webcompere.modelassert.json.Patterns
Common regular expressions for changeable patterns
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PatternMatch any integer, positive or negativestatic final PatternThe standard GUID pattern, supporting upper and lowercase hexstatic final PatternISO 8601 plain date format - e.g.static final PatternMatches with any of the above formatsstatic final PatternISO 8601 date/time format - e.g.static final PatternISO 8601 zoned date time format - e.g. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
GUID_PATTERN
The standard GUID pattern, supporting upper and lowercase hex -
ISO_8601_DATE
ISO 8601 plain date format - e.g. 2021-06-09 -
ISO_8601_DATE_TIME
ISO 8601 date/time format - e.g. 2021-06-09T20:00:09Z -
ISO_8601_ZONED_DATE_TIME
ISO 8601 zoned date time format - e.g. 2021-06-09T20:00:09+00:00 -
ISO_8601_DATE_ANY
Matches with any of the above formats -
ANY_INTEGER
Match any integer, positive or negative
-
-
Constructor Details
-
Patterns
public Patterns()
-