esc.normalization.DateNormalizer
This object provides the most needed method for normalizing dates.
Attributes
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
-
Self type
-
Members list
Returns a NormalizedDate object for a given string. The following date formats are supported:
Returns a NormalizedDate object for a given string. The following date formats are supported:
- yyyyMMdd = 20191231
- MMMM d, yyyy = May 1, 2019
- dd.MM.yyyy/d.MM.yyyy/dd.M.yyyy/d.M.yyyy = 31.12.2019
- yyyy.MM.dd/yyyy.MM.d/yyyy.M.d/yyyy.M.dd = 2019.12.31
- yyyy.MM/yyyy.M = 2019.12
- yyyy = 2019 All variants with dots (.) are also supported with hyphen (-) and slash (/) as seperator.
Value parameters
-
dateString
-
The string representing the date
Attributes
-
Returns
-
a NormalizedDate object.