Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLDR-17938 Add test data generator for date time formatting #4011

Merged
merged 1 commit into from
Sep 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading