vtime

package
v0.16.3 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Between added in v0.8.5

func Between(min, max time.Time) yav.ValidateFunc[time.Time]

func ExcludedIf added in v0.9.4

func ExcludedIf(conditionString string, condition bool) yav.ValidateFunc[time.Time]

func ExcludedUnless added in v0.9.4

func ExcludedUnless(conditionString string, condition bool) yav.ValidateFunc[time.Time]

func ExcludedWithAll added in v0.9.4

func ExcludedWithAll() accumulators.ExcludedWithAll[time.Time]

func ExcludedWithAny added in v0.9.4

func ExcludedWithAny() accumulators.ExcludedWithAny[time.Time]

func ExcludedWithoutAll added in v0.9.4

func ExcludedWithoutAll() accumulators.ExcludedWithoutAll[time.Time]

func ExcludedWithoutAny added in v0.9.4

func ExcludedWithoutAny() accumulators.ExcludedWithoutAny[time.Time]

func GreaterThan added in v0.8.5

func GreaterThan(parameter time.Time) yav.ValidateFunc[time.Time]

func GreaterThanNamed added in v0.8.5

func GreaterThanNamed(name string, parameter time.Time) yav.ValidateFunc[time.Time]

func GreaterThanOrEqual added in v0.8.5

func GreaterThanOrEqual(parameter time.Time) yav.ValidateFunc[time.Time]

func GreaterThanOrEqualNamed added in v0.8.5

func GreaterThanOrEqualNamed(name string, parameter time.Time) yav.ValidateFunc[time.Time]

func LessThan added in v0.8.5

func LessThan(parameter time.Time) yav.ValidateFunc[time.Time]

func LessThanNamed added in v0.8.5

func LessThanNamed(name string, parameter time.Time) yav.ValidateFunc[time.Time]

func LessThanOrEqual added in v0.8.5

func LessThanOrEqual(parameter time.Time) yav.ValidateFunc[time.Time]

func LessThanOrEqualNamed added in v0.8.5

func LessThanOrEqualNamed(name string, parameter time.Time) yav.ValidateFunc[time.Time]

func Max added in v0.8.5

func Max(parameter time.Time) yav.ValidateFunc[time.Time]

func Min added in v0.8.5

func Min(parameter time.Time) yav.ValidateFunc[time.Time]

func OmitEmpty

func OmitEmpty(_ string, value time.Time) (stop bool, err error)

func Required

func Required(name string, value time.Time) (stop bool, err error)

func RequiredIf added in v0.9.0

func RequiredIf(conditionString string, condition bool) yav.ValidateFunc[time.Time]

func RequiredUnless added in v0.9.0

func RequiredUnless(conditionString string, condition bool) yav.ValidateFunc[time.Time]

func RequiredWithAll added in v0.7.0

func RequiredWithAll() accumulators.RequiredWithAll[time.Time]

func RequiredWithAny added in v0.7.0

func RequiredWithAny() accumulators.RequiredWithAny[time.Time]

func RequiredWithoutAll added in v0.7.0

func RequiredWithoutAll() accumulators.RequiredWithoutAll[time.Time]

func RequiredWithoutAny added in v0.7.0

func RequiredWithoutAny() accumulators.RequiredWithoutAny[time.Time]

Types

This section is empty.

Jump to

Keyboard shortcuts

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