From b61bf594a1cae2c30bb77c1236d283d03db91f55 Mon Sep 17 00:00:00 2001 From: Peter Taoussanis Date: Fri, 6 Nov 2020 15:59:56 +0100 Subject: [PATCH] Update README to incl. `java.time.Period` example --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2dedc25..4079dc4 100644 --- a/README.md +++ b/README.md @@ -107,8 +107,10 @@ nippy/stress-data :uuid (java.util.UUID/randomUUID) :date (java.util.Date.) - :time-instant (java.time.Instant/now) ; JVM 8+ - :time-duration (java.time.Duration/ofSeconds 100) ; '' + ;;; JVM 8+ + :time-instant (java.time.Instant/now) + :time-duration (java.time.Duration/ofSeconds 100 100) + :time-period (java.time.Period/of 1 1 1) :objects (object-array [1 "two" {:data "data"}])