Create function to canonicalize date fields

Description

enum UDateFormatField defined a separate field for each skeleton letter. Many of these fields represent the same type of quantity: h/H/K are all for the hour; a/b/B are all for the day period; etc.

Consider adding a function that "canonicalizes" these fields to a common enum, where all hour fields map to hour, all day period fields map to day period, etc. In Java, this could be a getter on the Field object.

Assignee

Unassigned

Reporter

Shane Carr

Components

Labels

Reviewer

None

Priority

minor

Time Needed

Days

Fix versions

Configure