private CalendarPeriod findRangeAdjustment(String fmtString) {
        if (fmtString.contains("H") || fmtString.contains("k"))
            return CalendarPeriod.of(1, CalendarPeriod.Field.Hour);
        else if (fmtString.contains("d"))
            return CalendarPeriod.of(1, CalendarPeriod.Field.Day);
        else if (fmtString.contains("M"))
            return CalendarPeriod.of(31, CalendarPeriod.Field.Day);
        else
            return CalendarPeriod.of(366, CalendarPeriod.Field.Day);
    }
private CalendarPeriod findRangeAdjustment(String fmtString) {
        if (fmtString.contains("H") || fmtString.contains("k"))
            return CalendarPeriod.of(1, CalendarPeriod.Field.Hour);
        else if (fmtString.contains("d"))
            return CalendarPeriod.of(1, CalendarPeriod.Field.Day);
        else if (fmtString.contains("M"))
            return CalendarPeriod.of(31, CalendarPeriod.Field.Day);
        else
            return CalendarPeriod.of(366, CalendarPeriod.Field.Day);
    }
private CalendarPeriod findRangeAdjustment ( String fmtString ) { if ( fmtString . contains ( "H" ) || fmtString . contains ( "k" ) ) return CalendarPeriod . of ( 1 , CalendarPeriod . Field . Hour ) ; else if ( fmtString . contains ( "d" ) ) return CalendarPeriod . of ( 1 , CalendarPeriod . Field . Day ) ; else if ( fmtString . contains ( "M" ) ) return CalendarPeriod . of ( 31 , CalendarPeriod . Field . Day ) ; else return CalendarPeriod . of ( 366 , CalendarPeriod . Field . Day ) ; }
this.
this .