kubernetes/vendor/k8s.io/kube-openapi/pkg/validation/strfmt/date.go

func init() {}

// IsDate returns true when the string is a valid date
func IsDate(str string) bool {}

const RFC3339FullDate

type Date

// String converts this date into a string
func (d Date) String() string {}

// UnmarshalText parses a text representation into a date type
func (d *Date) UnmarshalText(text []byte) error {}

// MarshalText serializes this date type to string
func (d Date) MarshalText() ([]byte, error) {}

// MarshalJSON returns the Date as JSON
func (d Date) MarshalJSON() ([]byte, error) {}

// UnmarshalJSON sets the Date from JSON
func (d *Date) UnmarshalJSON(data []byte) error {}

// DeepCopyInto copies the receiver and writes its value into out.
func (d *Date) DeepCopyInto(out *Date) {}

// DeepCopy copies the receiver into a new Date.
func (d *Date) DeepCopy() *Date {}