MCPcopy Create free account
hub / github.com/MenoData/Time4J / getFuturePattern

Method getFuturePattern

base/src/main/java/net/time4j/PrettyTime.java:1722–1729  ·  view source on GitHub ↗
(
        long amount,
        CalendarUnit unit
    )

Source from the content-addressed store, hash-verified

1720 }
1721
1722 private String getFuturePattern(
1723 long amount,
1724 CalendarUnit unit
1725 ) {
1726 UnitPatterns patterns = UnitPatterns.of(this.locale);
1727 PluralCategory category = this.getCategory(amount);
1728 return patterns.getPatternInFuture(category, this.shortStyle, unit);
1729 }
1730
1731 private String getPastPattern(
1732 long amount,

Callers 3

printRelativeOrDateMethod · 0.95
printRelativeSecondsMethod · 0.95
printRelativeTimeMethod · 0.95

Calls 3

ofMethod · 0.95
getCategoryMethod · 0.95
getPatternInFutureMethod · 0.95

Tested by

no test coverage detected