Skip to content

DateInfo to GedcomxDate? #42

@weitzhandler

Description

@weitzhandler

Hi,

There should be a unified way to extract an object-oriented date value for ordering purposes from a DateInfo class.

I'd say you should add Day, Month, and Year properties to the DateInfo class, that will return the year parsed out from the date (maybe via regex). Actually having these properties as read-write would be very nice too.
I think the DateInfo lacks some manipulation functionality such as dealing with partial dates, as well as conversion to and from .NET DateTime when possible.

UPDATE,
And the truth is that it's all in the GedcomxDate library, there is just no connection between the two.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions