[Unicode]   Common Locale Data Repository : Bug Tracking Home | Site Map | Search
 

Changes between Initial Version and Version 1 of Ticket #9992


Ignore:
Timestamp:
01/17/17 12:59:40 (16 months ago)
Author:
pedberg
Comment:

Mark agrees with #1, and #2 for all except fractional seconds.

In the long run we should switch <fields> over to using first a <fieldLength> element and then then individual categories, but we need a public review and feedback on that first, so not for CLDR 31. I filed cldrbug 9995: for this restructuring.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9992

    • Property Owner changed from anybody to pedberg
    • Property Status changed from new to accepted
    • Property Milestone changed from UNSCH to 31
  • Ticket #9992 – Description

    initial v1  
    33In particular: 
    441. The fields data has width variants for certain fields (year, quarter, month, week, day, hour, minute, second) but not others (era, weekday, dayperiod, zone). The variants were added based on the needs of the ICU class RelativeDateTimeFormatter which did not care about era, dayperiod, etc. However, since the width variants affect the display names and it is useful to have the display name width variants for era, weekday, dayperiod, zone, it would be useful to add the width variants for these as well. 
    5 2. Currently, field display names are used in ICU mainly to name the appendFields in DateTimePatternGenerator.  However, while there are <field> types corresponding to most of the UDateTimePatternField enum values that might be used in appendFields, some are missing: There are no <field> types for the enum values WEEK_OF_MONTH, DAY_OF_YEAR, DAY_OF_WEEK_IN_MONTH, or FRACTIONAL_SECOND. It would be useful to add field types for these as well.  .  
     52. Currently, field display names are used in ICU mainly to name the appendFields in DateTimePatternGenerator.  However, while there are <field> types corresponding to most of the UDateTimePatternField enum values that might be used in appendFields, some are missing: There are no <field> types for the enum values WEEK_OF_MONTH ('W'), DAY_OF_YEAR ('D'), DAY_OF_WEEK_IN_MONTH ('F', i.e. ordinal for weekday occurrence in a month such as 2nd Wednesday), or FRACTIONAL_SECOND ('S'). It would be useful to add field types for these as well.  .