class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>Generic code to parse a period &#8211; no matter the period type. <p>This generic code will parse any period using a facet to to get the 'elements'. For example, in the case of a date_period the elements will be instances of a date which will be parsed according the to setup in the passed facet parameter.</p>
<p>The steps for parsing a period are always the same:</p>
<div class="itemizedlist"><ul class="itemizedli