(
Locale locale,
AttributeQuery attributes
)
| 741 | } |
| 742 | |
| 743 | private static DayPeriod from( |
| 744 | Locale locale, |
| 745 | AttributeQuery attributes |
| 746 | ) { |
| 747 | if (attributes.contains(CUSTOM)) { |
| 748 | return attributes.get(CUSTOM); |
| 749 | } |
| 750 | |
| 751 | return DayPeriod.of(locale, attributes.get(Attributes.CALENDAR_TYPE, CalendarText.ISO_CALENDAR_TYPE)); |
| 752 | } |
| 753 | } |
| 754 | |
| 755 | static class Element |
no test coverage detected