dubbo-go-hessian2: github.com/apache/dubbo-go-hessian2/java8_time Index | Files

package java8_time

import "github.com/apache/dubbo-go-hessian2/java8_time"

* 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

Package Files

duration.go instant.go local_date.go local_date_time.go local_time.go month_day.go offset_date_time.go offset_time.go period.go year.go year_month.go zone_off_set.go zoned_date_time.go

type Duration Uses

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

func (Duration) Error Uses

func (Duration) Error() string

func (Duration) JavaClassName Uses

func (Duration) JavaClassName() string

type Instant Uses

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

func (Instant) Error Uses

func (Instant) Error() string

func (Instant) JavaClassName Uses

func (Instant) JavaClassName() string

type LocalDate Uses

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

func (LocalDate) Error Uses

func (LocalDate) Error() string

func (LocalDate) JavaClassName Uses

func (LocalDate) JavaClassName() string

type LocalDateTime Uses

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

func (LocalDateTime) Error Uses

func (LocalDateTime) Error() string

func (LocalDateTime) JavaClassName Uses

func (LocalDateTime) JavaClassName() string

type LocalTime Uses

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

func (LocalTime) Error Uses

func (LocalTime) Error() string

func (LocalTime) JavaClassName Uses

func (LocalTime) JavaClassName() string

type MonthDay Uses

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

func (MonthDay) Error Uses

func (MonthDay) Error() string

func (MonthDay) JavaClassName Uses

func (MonthDay) JavaClassName() string

type OffsetDateTime Uses

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

func (OffsetDateTime) Error Uses

func (OffsetDateTime) Error() string

func (OffsetDateTime) JavaClassName Uses

func (OffsetDateTime) JavaClassName() string

type OffsetTime Uses

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

func (OffsetTime) Error Uses

func (OffsetTime) Error() string

func (OffsetTime) JavaClassName Uses

func (OffsetTime) JavaClassName() string

type Period Uses

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

java8-time java.time.Period

func (Period) Error Uses

func (Period) Error() string

func (Period) JavaClassName Uses

func (Period) JavaClassName() string

type Year Uses

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

java8-time java.time.Year

func (Year) Error Uses

func (Year) Error() string

func (Year) JavaClassName Uses

func (Year) JavaClassName() string

type YearMonth Uses

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

java8-time java.time.YearMonth

func (YearMonth) Error Uses

func (YearMonth) Error() string

func (YearMonth) JavaClassName Uses

func (YearMonth) JavaClassName() string

type ZoneOffSet Uses

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

func (ZoneOffSet) Error Uses

func (ZoneOffSet) Error() string

func (ZoneOffSet) JavaClassName Uses

func (ZoneOffSet) JavaClassName() string

type ZonedDateTime Uses

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

func (ZonedDateTime) Error Uses

func (ZonedDateTime) Error() string

func (ZonedDateTime) JavaClassName Uses

func (ZonedDateTime) JavaClassName() string

Package java8_time is imported by 1 packages. Updated 2020-10-24. Refresh now. Tools for package owners.