• Checks if a date is valid against another

    Parameters

    • date: Date

      Date instance

    • expectedYear: string
    • expectedMonth: string
    • expectedDay: string

    Returns boolean