Skip to content

Default LocalDate invalid in non-intuative ways #116

Description

@GoogleCodeExporter
If you create a default LocalDate with new LocalDate() or default(LocalDate) or 
by not assigning to a LocalDate field and then compare it to another (i.e. 
date1.Equals(date2)), you will get a null reference exception.

I understand that the default value is an invalid value by design, but it 
should really throw an exception to that effect rather than the null exception.

I'm using 1.0.0-beta2

Original issue reported on code.google.com by WalkerCo...@gmail.com on 5 Oct 2012 at 6:30

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions