...
Code Block | ||||
---|---|---|---|---|
| ||||
<periodCoefficientSet> <period> <startDate>2008<startDateTime date="2008-01-01T0001" time="00:00:00Z<00"/startDate>> <endDate>2009<endDateTime date="2009-01-01T0001" time="00:00:00Z<00"/endDate>> </period> <structure> <pumpFixedDischarge> <discharge>3</discharge> </pumpFixedDischarge> </structure> </periodCoefficientSet> <periodCoefficientSet> <period> <validAfterDate>2009<validAfterDateTime date="2009-01-01T00:00:00Z</validAfterDate>01"/> </period> <structure> <pumpFixedDischarge> <discharge>4</discharge> </pumpFixedDischarge> </structure> </periodCoefficientSet> |
The Z in 2008-01-01T00:00:00Z in the above example means that the time is specified in GMT. To specify times in a different time zone use e.g. 2008-06-20T11:33:00+05:00 for a time in time zone GMT+05:00If a date is specified without a time, then the time is assumed to be 00:00:00, so <validAfterDateTime date="2009-01-01"/> is the same as <validAfterDateTime date="2009-01-01" time="00:00:00"/>. To specify dates and times in a particular time zone use the optional time zone element at the beginning of a transformations or a coefficient sets configuration file, e.g. <timeZone>GMT+5:00</timeZone>. Then all dates and times in that configuration file are in the defined time zone. If no time zone is defined, then dates and times are in GMT. Note: 2008-06-20T1120 11:33:00 in time zone GMT+055:00 is physically the same time as 2008-06-20T0620 06:33:00Z 00 in GMT.