Documentation
¶
Overview ¶
Package instant exposes JVM-faithful java.time.Instant equivalents for code running on glojure. Statics (Instant/now, Instant/parse, Instant/ofEpochSecond, Instant/ofEpochMilli, Instant/EPOCH) are published through pkgmap under both the bare "Instant." prefix and the fully qualified Go path. Instance methods (toString, plusMillis, compareTo, ...) reach through lang.FieldOrMethod via reflection on *Instant. java.time.Instant has no public constructor, so there is no (Instant. ...) sugar.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EPOCH = jinstant.EPOCH
EPOCH mirrors Instant.EPOCH.
Functions ¶
func OfEpochMilli ¶
OfEpochMilli mirrors Instant.ofEpochMilli.
func OfEpochSecond ¶
OfEpochSecond mirrors Instant.ofEpochSecond (1+2 arg).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.