Exclusive vs inclusive deals
All dates are inclusive
In any DDEX messages, xxxDate
elements are indicated inclusive of the date value within the element. For instance, the ERN XML codes below shows that the release R0 is available for permanent download in Canada with price of $99.99 starting 2013-03-01 and ending on 2013-03-31 and another price ($88.88) takes effect on 2013-04-01.
<ReleaseDeal> <DealReleaseReference>R0</DealReleaseReference> <Deal> <DealTerms> <CommercialModelType>PayAsYouGoModel</CommercialModelType> <Usage> <UseType>PermanentDownload</UseType> </Usage> <TerritoryCode>CA</TerritoryCode> <PriceInformation> <WholesalePricePerUnit CurrencyCode="CAD">99.99</WholesalePricePerUnit> </PriceInformation> <ValidityPeriod> <StartDate>2013-03-01</StartDate> <EndDate>2013-03-31</EndDate> </ValidityPeriod> </DealTerms> </Deal> <Deal> <DealTerms> <CommercialModelType>PayAsYouGoModel</CommercialModelType> <Usage> <UseType>PermanentDownload</UseType> </Usage> <TerritoryCode>CA</TerritoryCode> <PriceInformation> <WholesalePricePerUnit CurrencyCode="CAD">88.88</WholesalePricePerUnit> </PriceInformation> <ValidityPeriod> <StartDate>2013-04-01</StartDate> </ValidityPeriod> </DealTerms> </Deal> </ReleaseDeal>