The Class CalendarDto.
| name | data type | type | namespace | min/max occurs | constraints | wrapped by | description |
|---|---|---|---|---|---|---|---|
| code | string | attribute | 1/1 | The code | |||
| description | string | attribute | 0/1 | The description | |||
| id | long | attribute | 0/1 | The id. | |||
| auditable | auditableDto | element | 0/1 | ||||
| auditableField | auditableFieldDto | element | 0/unbounded | auditableFields | |||
| calendarType | calendarTypeEnum | element | 1/1 | required | Calendar type. | ||
| days | dayInYearDto | element | 0/unbounded | Days. | |||
| endDate | dateTime | element | 0/1 | The end date. | |||
| holidays | calendarHolidayDto | element | 0/unbounded | ||||
| hours | hourInDayDto | element | 0/unbounded | Hours. | |||
| intervalType | calendarIntervalTypeEnum | element | 0/1 | Interval type. | |||
| intervals | calendarDateIntervalDto | element | 0/unbounded | List of intervals. | |||
| joinCalendar1Code | string | element | 0/1 | Code of the first calendar to intersect/union. | |||
| joinCalendar2Code | string | element | 0/1 | Code of the second calendar to intersect/union. | |||
| nbPeriods | int | element | 0/1 | Number of periods. | |||
| periodLength | int | element | 0/1 | Period length. | |||
| periodUnit | calendarPeriodUnitEnum | element | 0/1 | Period measurement unit. | |||
| startDate | dateTime | element | 0/1 | The start date. | |||
| updatedCode | string | element | 0/1 | The updated code. | |||
| weekendBegin | int | element | 0/1 | The weekend begin. | |||
| weekendEnd | int | element | 0/1 | The weekend end. |
Example
<calendarDto code="..." description="..." id="...">
<auditable created="..." creator="..." updated="..." updater="..."/>
<auditableFields>
<auditableField actor="..." changeOrigin="..." code="..." created="..." currentState="..." description="..." entityClass="..." fieldName="..." id="..." originName="..." previousState="...">
<auditable created="..." creator="..." updated="..." updater="..."/>
<auditableFields>
<auditableField/>
</auditableFields>
<updatedCode>...</updatedCode>
</auditableField>
</auditableFields>
<updatedCode>...</updatedCode>
<calendarType>...</calendarType>
<days day="..." month="..."/>
<hours hour="..." min="..."/>
<periodLength>...</periodLength>
<periodUnit>...</periodUnit>
<nbPeriods>...</nbPeriods>
<joinCalendar1Code>...</joinCalendar1Code>
<joinCalendar2Code>...</joinCalendar2Code>
<intervalType>...</intervalType>
<intervals intervalBegin="..." intervalEnd="..."/>
<weekendBegin>...</weekendBegin>
<weekendEnd>...</weekendEnd>
<endDate>...</endDate>
<startDate>...</startDate>
<holidays holidayBegin="..." holidayEnd="..."/>
</calendarDto>