Skip to content

Commit

Permalink
CLDR-17938 Add test data generator for date time formatting (#4011)
Browse files Browse the repository at this point in the history
  • Loading branch information
echeran authored Sep 26, 2024
1 parent 6b1147a commit ed98270
Show file tree
Hide file tree
Showing 6 changed files with 59,047 additions and 87 deletions.
14 changes: 14 additions & 0 deletions common/testData/datetime/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Test Data for DateTime Formatting

This directory contains test data for DateTime formatting.
This data is the result of the test data generator `GenerateDateTimeTestData.java`.

The design of the test generator is to provide the "expected value" of datetime formatting over several dimensions,
such as locale,
formatting options (date length, calendar, etc.),
and various input datetime values.

The test generator constructs the expected value using the various pieces
(date format pattern, time format pattern, datetime "glue" pattern)
and `SimpleDateFormat`s to combine them together.
Each test case reports the inputs for the test case and the expected value.
Loading

0 comments on commit ed98270

Please sign in to comment.