@ Deprecated public static PatternInfo genPatternInfo ( String intervalPattern , boolean laterDateFirst ) { int splitPoint = splitPatternInto2Part ( intervalPattern ) ; String firstPart = intervalPattern . substring ( 0 , splitPoint ) ; String secondPart = null ; if ( splitPoint < intervalPattern . length ( ) ) { secondPart = intervalPattern . substring ( splitPoint , intervalPattern . length ( ) ) ; } return new PatternInfo ( firstPart , secondPart , laterDateFirst ) ; }
Break interval patterns as 2 part and save them into pattern info .