datetime

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Date

type Date struct {
	Day                  int32    `protobuf:"varint,1,opt,name=day,proto3" json:"day,omitempty"`
	Month                int32    `protobuf:"varint,2,opt,name=month,proto3" json:"month,omitempty"`
	Year                 int32    `protobuf:"varint,3,opt,name=year,proto3" json:"year,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Date) Descriptor

func (*Date) Descriptor() ([]byte, []int)

func (*Date) GetDay

func (m *Date) GetDay() int32

func (*Date) GetMonth

func (m *Date) GetMonth() int32

func (*Date) GetYear

func (m *Date) GetYear() int32

func (*Date) ProtoMessage

func (*Date) ProtoMessage()

func (*Date) Reset

func (m *Date) Reset()

func (*Date) String

func (m *Date) String() string

func (*Date) XXX_DiscardUnknown

func (m *Date) XXX_DiscardUnknown()

func (*Date) XXX_Marshal

func (m *Date) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Date) XXX_Merge

func (dst *Date) XXX_Merge(src proto.Message)

func (*Date) XXX_Size

func (m *Date) XXX_Size() int

func (*Date) XXX_Unmarshal

func (m *Date) XXX_Unmarshal(b []byte) error

type DateRange

type DateRange struct {
	Start                *Date    `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"`
	End                  *Date    `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DateRange) Descriptor

func (*DateRange) Descriptor() ([]byte, []int)

func (*DateRange) GetEnd

func (m *DateRange) GetEnd() *Date

func (*DateRange) GetStart

func (m *DateRange) GetStart() *Date

func (*DateRange) ProtoMessage

func (*DateRange) ProtoMessage()

func (*DateRange) Reset

func (m *DateRange) Reset()

func (*DateRange) String

func (m *DateRange) String() string

func (*DateRange) XXX_DiscardUnknown

func (m *DateRange) XXX_DiscardUnknown()

func (*DateRange) XXX_Marshal

func (m *DateRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DateRange) XXX_Merge

func (dst *DateRange) XXX_Merge(src proto.Message)

func (*DateRange) XXX_Size

func (m *DateRange) XXX_Size() int

func (*DateRange) XXX_Unmarshal

func (m *DateRange) XXX_Unmarshal(b []byte) error

type DateRanges

type DateRanges struct {
	Ranges               []*DateRange `protobuf:"bytes,1,rep,name=ranges,proto3" json:"ranges,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*DateRanges) Descriptor

func (*DateRanges) Descriptor() ([]byte, []int)

func (*DateRanges) GetRanges

func (m *DateRanges) GetRanges() []*DateRange

func (*DateRanges) ProtoMessage

func (*DateRanges) ProtoMessage()

func (*DateRanges) Reset

func (m *DateRanges) Reset()

func (*DateRanges) String

func (m *DateRanges) String() string

func (*DateRanges) XXX_DiscardUnknown

func (m *DateRanges) XXX_DiscardUnknown()

func (*DateRanges) XXX_Marshal

func (m *DateRanges) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DateRanges) XXX_Merge

func (dst *DateRanges) XXX_Merge(src proto.Message)

func (*DateRanges) XXX_Size

func (m *DateRanges) XXX_Size() int

func (*DateRanges) XXX_Unmarshal

func (m *DateRanges) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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