date

package
v0.7.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2026 License: EPL-1.0 Imports: 6 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package date exposes the small java.util.Date surface needed by hosted Clojure code. Values store milliseconds from the Unix epoch.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(args ...any) any

func ParseInstantDate added in v0.7.6

func ParseInstantDate(value any) any

ParseInstantDate implements Clojure's built-in #inst reader using Go's RFC3339 parser and returns the java.util.Date compatibility value.

Types

type Date

type Date struct {
	// contains filtered or unexported fields
}

func (*Date) Compare

func (d *Date) Compare(other any) int

func (*Date) CompareTo

func (d *Date) CompareTo(other *Date) int32

func (*Date) Equals added in v0.7.6

func (d *Date) Equals(other any) bool

func (*Date) GetTime

func (d *Date) GetTime() int64

func (*Date) HashCode added in v0.7.6

func (d *Date) HashCode() int32

func (*Date) PrintReadable added in v0.7.6

func (d *Date) PrintReadable(writer io.Writer)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL