Skip to content

Commit 9ab602c

Browse files
committed
updating cheatsheet a bit more
1 parent d1a52fc commit 9ab602c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/cheatsheet.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,6 @@ nil
246246
user> (require '[tech.v2.datatype.datetime.operations :as dtype-dt-ops])
247247
nil
248248
user> (dtype-dt/zoned-date-time)
249-
250249
#object[java.time.ZonedDateTime 0x1474b1 "2020-03-31T15:36:03.063-06:00[America/Denver]"]
251250
user> (dtype-dt/local-date)
252251
#object[java.time.LocalDate 0x72875089 "2020-03-31"]
@@ -268,6 +267,13 @@ user> (dtype-dt-ops/get-epoch-milliseconds
268267
1585950077711 1586036477711 1586122877711
269268
1586209277711 1586295677711 1586382077711
270269
1586468477712]
270+
;; You can also make containers of these objects
271+
user> (dtype/make-container :java-array :local-time 2)
272+
[#object[java.time.LocalTime 0x67a430c1 "15:50:30.971"],
273+
#object[java.time.LocalTime 0x4498f90d "15:50:30.971"]]
274+
user> (dtype/make-container :java-array :instant 2)
275+
[#object[java.time.Instant 0xb9b429d "2020-03-31T21:50:36.517Z"],
276+
#object[java.time.Instant 0x6e907408 "2020-03-31T21:50:36.517Z"]]
271277
```
272278

273279

0 commit comments

Comments
 (0)