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

func init() {}

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

const RFC3339Millis

const RFC3339Micro

const ISO8601LocalTime

const DateTimePattern

var dateTimeFormats

var rxDateTime

var MarshalFormat

// ParseDateTime parses a string that represents an ISO8601 time or a unix epoch
func ParseDateTime(data string) (DateTime, error) {}

type DateTime

// NewDateTime is a representation of zero value for DateTime type
func NewDateTime() DateTime {}

// String converts this time to a string
func (t DateTime) String() string {}

// MarshalText implements the text marshaller interface
func (t DateTime) MarshalText() ([]byte, error) {}

// UnmarshalText implements the text unmarshaller interface
func (t *DateTime) UnmarshalText(text []byte) error {}

// Scan scans a DateTime value from database driver type.
func (t *DateTime) Scan(raw interface{}

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

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

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

// DeepCopy copies the receiver into a new DateTime.
func (t *DateTime) DeepCopy() *DateTime {}