Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions core/src/main/java/org/ocpsoft/prettytime/TimeFormat.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ public interface TimeFormat
/**
* Given a populated {@link Duration} object. Apply formatting (with rounding) and output the result.
*
* @param The original {@link Duration} instance from which the time string should be decorated.
* @param duration The original {@link Duration} instance from which the time string should be decorated.
*/
public abstract String format(final Duration duration);

/**
* Given a populated {@link Duration} object. Apply formatting (without rounding) and output the result.
*
* @param The original {@link Duration} instance from which the time string should be decorated.
* @param duration The original {@link Duration} instance from which the time string should be decorated.
*/
public String formatUnrounded(Duration duration);

Expand All @@ -52,4 +52,4 @@ public interface TimeFormat
*/
public String decorateUnrounded(Duration duration, String time);

}
}