datetime

package
v1.108.1 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_protos_datetime_datetime_proto protoreflect.FileDescriptor

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"`
	// contains filtered or unexported fields
}

func (*Date) Descriptor deprecated

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

Deprecated: Use Date.ProtoReflect.Descriptor instead.

func (*Date) GetDay

func (x *Date) GetDay() int32

func (*Date) GetMonth

func (x *Date) GetMonth() int32

func (*Date) GetYear

func (x *Date) GetYear() int32

func (*Date) ProtoMessage

func (*Date) ProtoMessage()

func (*Date) ProtoReflect added in v1.77.0

func (x *Date) ProtoReflect() protoreflect.Message

func (*Date) Reset

func (x *Date) Reset()

func (*Date) String

func (x *Date) String() string

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"`
	// contains filtered or unexported fields
}

func (*DateRange) Descriptor deprecated

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

Deprecated: Use DateRange.ProtoReflect.Descriptor instead.

func (*DateRange) GetEnd

func (x *DateRange) GetEnd() *Date

func (*DateRange) GetStart

func (x *DateRange) GetStart() *Date

func (*DateRange) ProtoMessage

func (*DateRange) ProtoMessage()

func (*DateRange) ProtoReflect added in v1.77.0

func (x *DateRange) ProtoReflect() protoreflect.Message

func (*DateRange) Reset

func (x *DateRange) Reset()

func (*DateRange) String

func (x *DateRange) String() string

type DateRanges

type DateRanges struct {
	Ranges []*DateRange `protobuf:"bytes,1,rep,name=ranges,proto3" json:"ranges,omitempty"`
	// contains filtered or unexported fields
}

func (*DateRanges) Descriptor deprecated

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

Deprecated: Use DateRanges.ProtoReflect.Descriptor instead.

func (*DateRanges) GetRanges

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

func (*DateRanges) ProtoMessage

func (*DateRanges) ProtoMessage()

func (*DateRanges) ProtoReflect added in v1.77.0

func (x *DateRanges) ProtoReflect() protoreflect.Message

func (*DateRanges) Reset

func (x *DateRanges) Reset()

func (*DateRanges) String

func (x *DateRanges) String() string

Jump to

Keyboard shortcuts

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