Create CalculateStringPeriod.java