Skip to content

Instantly share code, notes, and snippets.

@jmandel

jmandel/example.xml

Created Jun 10, 2012
Embed
What would you like to do?
<example xsi:type="QSI_TS"><!-- intersection, because it is a QSI -->
<!-- every other Tuesday -->
<term xsi:type='PIVL_TS' alignment='DW'>
<phase lowClosed='true' highClosed='false'>
<low value='20001202'/>
<high value='20001203'/>
</phase>
<period value='2' unit='wk'/>
</term>
<!-- 2002 and 2003 -->
<term xsi:type='IVL_TS' lowClosed='true' highClosed='false'>
<low value='20020101'/>
<high value='20040101'/>
</term>
<!-- season between Memorial Day and Labor Day -->
<!-- periodic hull between Memorial day and Labor Day -->
<term xsi:type='QSP_TS'>
<low xsi:type="QSI_TS">
<!-- memorial day: intersection of last week of May and mondays -->
<term xsi:type='PIVL_TS'>
<phase highClosed='false'>
<low value='19870525'/>
<high value='19870601'/>
</phase>
<period value='1' unit='a'/>
</term>
<term xsi:type='PIVL_TS'>
<phase highClosed='false'>
<low value='19870105'/>
<high value='19870106'/>
</phase>
<period value='1' unit='wk'/>
</term>
</low>
<high xsi:type="QSI_TS">
<!-- labor day : intersection of first week of Sept and mondays -->
<term xsi:type='PIVL_TS'>
<phase highClosed='false'>
<low value='19870901'/>
<high value='19870908'/>
</phase>
<period value='1' unit='a'/>
</term>
<term xsi:type='PIVL_TS'>
<phase highClosed='false'>
<low value='19870105'/>
<high value='19870106'/>
</phase>
<period value='1' unit='wk'/>
</term>
</high>
</term>
</example>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.