()
| 415 | * @return String |
| 416 | */ |
| 417 | @Override |
| 418 | public String toString() { |
| 419 | |
| 420 | StringBuilder sb = new StringBuilder(64); |
| 421 | sb.append("DayPeriod["); |
| 422 | if (this.isPredefined()) { |
| 423 | sb.append("locale="); |
| 424 | sb.append(this.locale); |
| 425 | sb.append(','); |
| 426 | if (!this.calendarType.equals(CalendarText.ISO_CALENDAR_TYPE)) { |
| 427 | sb.append(",calendar-type="); |
| 428 | sb.append(this.calendarType); |
| 429 | sb.append(','); |
| 430 | } |
| 431 | } |
| 432 | sb.append(this.codeMap); |
| 433 | sb.append(']'); |
| 434 | return sb.toString(); |
| 435 | |
| 436 | } |
| 437 | |
| 438 | // package-private because used in deserialization |
| 439 | static DayPeriod of( |
nothing calls this directly
no test coverage detected