1
0
mirror of https://github.com/google/nomulus synced 2026-01-07 22:15:30 +00:00
Files
nomulus/core
sarahcaseybot cc1777af0c Add custom YAML serializer for Duration (#2161)
* Add custom YAML serializer for Duration

This addresses b/301119144. This changes the YAML representation of a TLD to show Duration fields as a String reperesntation using the Java Duration object's toString() format. This eliminates the previous ambiguity over the time unit that is being used for each duration.

* change standardSeconds to standardMinutes in test

* Add custom serializer to the entire mapper
2023-10-03 13:46:19 -04:00
..
2023-09-13 11:11:49 -04:00
2023-09-13 11:11:49 -04:00