Skip to content

Commit

Permalink
Merge pull request #26 from mP1/feature/DayOfWeek-getDisplayName-removed
Browse files Browse the repository at this point in the history
DayOfWeek.getDisplayName removed
  • Loading branch information
mP1 authored Dec 19, 2019
2 parents 2ee2555 + 327da94 commit 39d948b
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/main/java/org/threeten/bp/DayOfWeek.java
Original file line number Diff line number Diff line change
Expand Up @@ -201,11 +201,10 @@ public int getValue() {
* @param locale the locale to use, not null
* @return the text value of the day-of-week, not null
*/
@GwtIncompatible
public String getDisplayName(TextStyle style, Locale locale) {
//return new DateTimeFormatterBuilder().appendText(DAY_OF_WEEK, style).toFormatter(locale).format(this);
throw new UnsupportedOperationException();
}
// public String getDisplayName(TextStyle style, Locale locale) {
// //return new DateTimeFormatterBuilder().appendText(DAY_OF_WEEK, style).toFormatter(locale).format(this);
// throw new UnsupportedOperationException();
// }

//-----------------------------------------------------------------------
/**
Expand Down

0 comments on commit 39d948b

Please sign in to comment.