Skip to content

Commit 0a855ae

Browse files
committed
Make example clearer
1 parent 481f836 commit 0a855ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ while(when.isAfter(end)) {
104104
```java
105105
LocalDateTimeStream
106106
.fromNow()
107-
.until(LocalDateTime.now().minusHours(1))
107+
.until(-1, ChronoUnit.HOURS)
108108
.every(1, ChronoUnit.MINUTES)
109109
.stream()
110110
.forEach(this::doSomething);

0 commit comments

Comments
 (0)