BUPKIS
    Preparing search index...

    Variable DateLikeFormatSchemaConst

    DateLikeFormatSchema: ZodUnion<
        readonly [
            ZodDate,
            ZodUnion<readonly [ZodISODateTime, ZodISODate]>,
            ZodNumber,
        ],
    > = ...

    A Zod schema that validates date-like values.

    This schema accepts any value that can represent a date: native JavaScript Date objects, ISO 8601 date strings, or numeric timestamps. It provides a unified validation approach for date inputs across different assertion types. The schema is registered in the BupkisRegistry for use in assertion creation.

    DateLikeFormatSchema.parse(new Date()); // ✓ Valid Date object
    DateLikeFormatSchema.parse('2025-01-01'); // ✓ Valid ISO date string
    DateLikeFormatSchema.parse('2025-01-01T10:30:00Z'); // ✓ Valid ISO datetime
    DateLikeFormatSchema.parse(Date.now()); // ✓ Valid timestamp
    DateLikeFormatSchema.parse(0); // ✓ Valid Unix epoch
    DateLikeFormatSchema.parse('invalid-date'); // ✗ Throws - invalid format
    DateLikeFormatSchema.parse({}); // ✗ Throws - not date-like
    DateLikeFormatSchema.parse(null); // ✗ Throws - null not accepted