...

Package month

import "google.golang.org/genproto/googleapis/type/month"
Overview
Index

Overview ▾

Variables

Enum value maps for Month.

var (
    Month_name = map[int32]string{
        0:  "MONTH_UNSPECIFIED",
        1:  "JANUARY",
        2:  "FEBRUARY",
        3:  "MARCH",
        4:  "APRIL",
        5:  "MAY",
        6:  "JUNE",
        7:  "JULY",
        8:  "AUGUST",
        9:  "SEPTEMBER",
        10: "OCTOBER",
        11: "NOVEMBER",
        12: "DECEMBER",
    }
    Month_value = map[string]int32{
        "MONTH_UNSPECIFIED": 0,
        "JANUARY":           1,
        "FEBRUARY":          2,
        "MARCH":             3,
        "APRIL":             4,
        "MAY":               5,
        "JUNE":              6,
        "JULY":              7,
        "AUGUST":            8,
        "SEPTEMBER":         9,
        "OCTOBER":           10,
        "NOVEMBER":          11,
        "DECEMBER":          12,
    }
)
var File_google_type_month_proto protoreflect.FileDescriptor

type Month

Represents a month in the Gregorian calendar.

type Month int32
const (
    // The unspecified month.
    Month_MONTH_UNSPECIFIED Month = 0
    // The month of January.
    Month_JANUARY Month = 1
    // The month of February.
    Month_FEBRUARY Month = 2
    // The month of March.
    Month_MARCH Month = 3
    // The month of April.
    Month_APRIL Month = 4
    // The month of May.
    Month_MAY Month = 5
    // The month of June.
    Month_JUNE Month = 6
    // The month of July.
    Month_JULY Month = 7
    // The month of August.
    Month_AUGUST Month = 8
    // The month of September.
    Month_SEPTEMBER Month = 9
    // The month of October.
    Month_OCTOBER Month = 10
    // The month of November.
    Month_NOVEMBER Month = 11
    // The month of December.
    Month_DECEMBER Month = 12
)

func (Month) Descriptor

func (Month) Descriptor() protoreflect.EnumDescriptor

func (Month) Enum

func (x Month) Enum() *Month

func (Month) EnumDescriptor

func (Month) EnumDescriptor() ([]byte, []int)

Deprecated: Use Month.Descriptor instead.

func (Month) Number

func (x Month) Number() protoreflect.EnumNumber

func (Month) String

func (x Month) String() string

func (Month) Type

func (Month) Type() protoreflect.EnumType