Hierarchy (View Summary)

Constructors

Properties

_input: Date
_output: Date
_type: Date
spa: (
    data: unknown,
    params?: Partial<Zod.z.ParseParams>,
) => Promise<Zod.z.SafeParseReturnType<Date, Date>>

Alias of safeParseAsync

create: (
    params?: {
        description?: string;
        errorMap?: Zod.z.ZodErrorMap;
        invalid_type_error?: string;
        required_error?: string;
    } & { coerce?: boolean },
) => Zod.z.ZodDate

Accessors

  • get description(): undefined | string
  • Returns undefined | string

  • get maxDate(): null | Date
  • Returns null | Date

  • get minDate(): null | Date
  • Returns null | Date

Methods

  • Parameters

    • description: string

    Returns this

  • Returns boolean

  • Returns boolean

  • Parameters

    • maxDate: Date
    • Optionalmessage: ErrMessage

    Returns Zod.z.ZodDate

  • Parameters

    • minDate: Date
    • Optionalmessage: ErrMessage

    Returns Zod.z.ZodDate

  • Parameters

    Returns Date

  • Parameters

    Returns Promise<Date>