How to use for month parameter for example System.out.println("-4 months -> " + MyUtils.getFormattedDate( Str2Time.convert("-4 months") ));