-
Work Task
-
Resolution: Cannot Reproduce
-
Minor
-
None
-
None
The CimHarvest.dealWithDuration method looks for:
final String startDate = CimXMLUtil.getNestedNodeText(node, "duration", "realCalendar", "range", "closedDateRange", "startDate");
final String endDate = CimXMLUtil.getNestedNodeText(node, "duration", "realCalendar", "range", "closedDateRange", "endDate");
The structures from the example files are as follows:
<duration>
<startDate>1859-12-01T00:00:00Z</startDate>
<endDate>2359-12-01T23:59:59Z</endDate>
</duration>
<duration>
<startDate>1960-1-1T00:00:00Z</startDate>
<length units="Years">10.0</length>
</duration>
The harvester needs to be changed to look for those structures.
final String startDate = CimXMLUtil.getNestedNodeText(node, "duration", "realCalendar", "range", "closedDateRange", "startDate");
final String endDate = CimXMLUtil.getNestedNodeText(node, "duration", "realCalendar", "range", "closedDateRange", "endDate");
The structures from the example files are as follows:
<duration>
<startDate>1859-12-01T00:00:00Z</startDate>
<endDate>2359-12-01T23:59:59Z</endDate>
</duration>
<duration>
<startDate>1960-1-1T00:00:00Z</startDate>
<length units="Years">10.0</length>
</duration>
The harvester needs to be changed to look for those structures.