java8_time

package
v1.12.4 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 0 Imported by: 4

Documentation

Overview

* Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.

* Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.

* Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Duration

type Duration struct {
	Seconds int64 `hessian:"seconds"`
	Nanos   int32 `hessian:"nanos"`
}

func (Duration) Error

func (Duration) Error() string

func (Duration) JavaClassName

func (Duration) JavaClassName() string

type Instant

type Instant struct {
	Seconds int64 `hessian:"seconds"`
	Nanos   int32 `hessian:"nanos"`
}

func (Instant) Error

func (Instant) Error() string

func (Instant) JavaClassName

func (Instant) JavaClassName() string

type LocalDate

type LocalDate struct {
	Year  int32 `hessian:"year"`
	Month int32 `hessian:"month"`
	Day   int32 `hessian:"day"`
}

func (LocalDate) Error

func (LocalDate) Error() string

func (LocalDate) JavaClassName

func (LocalDate) JavaClassName() string

type LocalDateTime

type LocalDateTime struct {
	Date LocalDate `hessian:"date"`
	Time LocalTime `hessian:"time"`
}

func (LocalDateTime) Error

func (LocalDateTime) Error() string

func (LocalDateTime) JavaClassName

func (LocalDateTime) JavaClassName() string

type LocalTime

type LocalTime struct {
	Hour   int32 `hessian:"hour"`
	Minute int32 `hessian:"minute"`
	Second int32 `hessian:"second"`
	Nano   int32 `hessian:"nano"`
}

func (LocalTime) Error

func (LocalTime) Error() string

func (LocalTime) JavaClassName

func (LocalTime) JavaClassName() string

type MonthDay

type MonthDay struct {
	Month int32 `hessian:"month"`
	Day   int32 `hessian:"day"`
}

func (MonthDay) Error

func (MonthDay) Error() string

func (MonthDay) JavaClassName

func (MonthDay) JavaClassName() string

type OffsetDateTime added in v1.6.3

type OffsetDateTime struct {
	DateTime LocalDateTime `hessian:"dateTime"`
	Offset   ZoneOffSet    `hessian:"offset"`
}

func (OffsetDateTime) Error added in v1.6.3

func (OffsetDateTime) Error() string

func (OffsetDateTime) JavaClassName added in v1.6.3

func (OffsetDateTime) JavaClassName() string

type OffsetTime added in v1.6.3

type OffsetTime struct {
	LocalTime  LocalTime  `hessian:"localTime"`
	ZoneOffset ZoneOffSet `hessian:"zoneOffset"`
}

func (OffsetTime) Error added in v1.6.3

func (OffsetTime) Error() string

func (OffsetTime) JavaClassName added in v1.6.3

func (OffsetTime) JavaClassName() string

type Period

type Period struct {
	Days   int32 `hessian:"days"`
	Months int32 `hessian:"months"`
	Years  int32 `hessian:"years"`
}

java8-time java.time.Period

func (Period) Error

func (Period) Error() string

func (Period) JavaClassName

func (Period) JavaClassName() string

type Year

type Year struct {
	Year int32 `hessian:"year"`
}

java8-time java.time.Year

func (Year) Error

func (Year) Error() string

func (Year) JavaClassName

func (Year) JavaClassName() string

type YearMonth

type YearMonth struct {
	Month int32 `hessian:"month"`
	Year  int32 `hessian:"year"`
}

java8-time java.time.YearMonth

func (YearMonth) Error

func (YearMonth) Error() string

func (YearMonth) JavaClassName

func (YearMonth) JavaClassName() string

type ZoneOffSet added in v1.6.3

type ZoneOffSet struct {
	Seconds int32 `hessian:"seconds"`
}

func (ZoneOffSet) Error added in v1.6.3

func (ZoneOffSet) Error() string

func (ZoneOffSet) JavaClassName added in v1.6.3

func (ZoneOffSet) JavaClassName() string

type ZonedDateTime added in v1.6.3

type ZonedDateTime struct {
	DateTime LocalDateTime `hessian:"dateTime"`
	Offset   ZoneOffSet    `hessian:"offset"`
	ZoneId   string        `hessian:"zoneId"`
}

func (ZonedDateTime) Error added in v1.6.3

func (ZonedDateTime) Error() string

func (ZonedDateTime) JavaClassName added in v1.6.3

func (ZonedDateTime) JavaClassName() string

Jump to

Keyboard shortcuts

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