@Test
public void testGetDaysInPeriod()
{

    Period pA = periodType.createPeriod( "20040315" );
    Period pB = periodType.createPeriod( "201403" );
    Period pC = periodType.createPeriod( "2014Q2" );
    assertEquals( 1, pA.getDaysInPeriod() );
    assertEquals( 31, pB.getDaysInPeriod() );
    assertEquals( 91, pC.getDaysInPeriod() );
}