Skip to content

How to handle AMAZON.Date in .NET #11

@Blackbaud-BenLambert

Description

@Blackbaud-BenLambert

Hey Stefan, thanks for writing this library - it works great! Do you have any utility or library code in FreeBusy that handles parsing the ISO8601 date values coming in from the AVS when a slot is defined as of type AMAZON.Date? In some cases, the incoming string isn't parse-able to a DateTime or DateTimeOffset (for example, if I say "this weekend" the slot value comes in a "2016-W29-WE" which doesn't work with DateTime.TryParse(). Reading the docs on AMAZON.Date I see several formats that likely won't parse. Just wondering if there was a good mechanism for handling this in .NET, or if you just ended up parsing the incoming value for some known regex patterns. Thanks again for putting the time into creating this library!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions