PwsDateInterval

Overview


This structure represents a date interval, or date range, for budget baseline buckets.

Format


PwsDateInterval
  • PwsDateInterval
    • EndDate: DateTime
    • StartDate: DateTime

Elements


Element

Data Type

Required?

Description

Sample Data

EndDate

DateTime

On Insert: Yes

On Update: No

The end date of the budget baseline interval in midnight UTC format.

2018-01-31T00:00:00Z


StartDate

DateTime

On Insert: Yes (unless it is the first bucket in the baseline)

On Update: No

The start date of the budget baseline interval in midnight UTC format.

2018-01-01T00:00:00Z

Usage Example(s)


Example 01
                  <b:PwsDateInterval>
                     <b:EndDate>2017-12-31T00:00:00Z</b:EndDate>
                     <b:StartDate i:nil="true"/>
                  </b:PwsDateInterval>
                  <b:PwsDateInterval>
                     <b:EndDate>2018-01-31T00:00:00Z</b:EndDate>
                     <b:StartDate>2018-01-01T00:00:00Z</b:StartDate>
                  </b:PwsDateInterval>
                  <b:PwsDateInterval>
                     <b:EndDate>2018-02-28T00:00:00Z</b:EndDate>
                     <b:StartDate>2018-02-01T00:00:00Z</b:StartDate>
                  </b:PwsDateInterval>
                  <b:PwsDateInterval>
                     <b:EndDate i:nil="true"/>
                     <b:StartDate>2018-03-01T00:00:00Z</b:StartDate>
                  </b:PwsDateInterval>