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

package java_sql_time

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

Index

Package Files

date.go java_sql_time.go time.go

type Date Uses

type Date struct {
    time.Time
}

func (*Date) Day Uses

func (d *Date) Day() int

nolint

func (*Date) GetTime Uses

func (d *Date) GetTime() time.Time

func (Date) JavaClassName Uses

func (Date) JavaClassName() string

func (*Date) Month Uses

func (d *Date) Month() time.Month

nolint

func (*Date) SetTime Uses

func (d *Date) SetTime(time time.Time)

func (*Date) ValueOf Uses

func (d *Date) ValueOf(dateStr string) error

func (*Date) Year Uses

func (d *Date) Year() int

nolint

type JavaSqlTime Uses

type JavaSqlTime interface {
    // ValueOf parse time string which format likes '2006-01-02 15:04:05'
    ValueOf(timeStr string) error
    // SetTime for decode time
    SetTime(time time.Time)
    JavaClassName() string
    // GetTime used to time
    GetTime() time.Time
}

type Time Uses

type Time struct {
    time.Time
}

func (*Time) GetTime Uses

func (t *Time) GetTime() time.Time

func (*Time) Hour Uses

func (t *Time) Hour() int

nolint

func (Time) JavaClassName Uses

func (Time) JavaClassName() string

func (*Time) Minute Uses

func (t *Time) Minute() int

nolint

func (*Time) Second Uses

func (t *Time) Second() int

nolint

func (*Time) SetTime Uses

func (t *Time) SetTime(time time.Time)

func (*Time) ValueOf Uses

func (t *Time) ValueOf(timeStr string) error

Package java_sql_time imports 1 packages (graph) and is imported by 1 packages. Updated 2020-09-30. Refresh now. Tools for package owners.