Skip to content

Commit 8ec45d3

Browse files
committed
Update README to version 0.4
1 parent de810cd commit 8ec45d3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,9 @@ dateMathBuilder.build();
5959
```java
6060
// gets all the patterns of datetimes between start and end
6161
DateMathFormatter.getAllPatternsBetween(ZonedDateTime.now().minus(7, ChronoUnit.YEARS), ZonedDateTime.now(), "yyyy-MM-dd HH");
62+
```
63+
#### Collection\<String\> getAllPatternsBetween(ZonedDateTime start, ZonedDateTime end)
64+
```java
65+
// gets all the patterns of datetimes between start and end
66+
dateMathFormatter.getAllPatternsBetween(ZonedDateTime.now().minus(7, ChronoUnit.YEARS), ZonedDateTime.now(), "yyyy-MM-dd HH");
6267
```

0 commit comments

Comments
 (0)