Skip to content

Commit

Permalink
chore: private explicit constructor for UnitsOfTimeFormatter
Browse files Browse the repository at this point in the history
  • Loading branch information
jy95 committed Feb 9, 2025
1 parent a652b46 commit 92e23c9
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ public final class UnitsOfTimeFormatter {
.with()
.unitWidth(NumberFormatter.UnitWidth.FULL_NAME);

/**
* No constructor for this class
*/
private UnitsOfTimeFormatter() {}

/**
* Formats a time unit with a count (e.g., "3 heures", "1 minute").
* @param locale The locale expected for the resulting text
Expand Down

0 comments on commit 92e23c9

Please sign in to comment.