class FakeUtils extends AbstractCaller {

    @UtilityMethod
    public final String ExpireDate(String dateFormat) {
        // 2011.09.16 DG: Return String as soon as tag ExpireDate defined as String in QFJ.
        LocalDateTime localDateTime = DateUtil.modifyLocalDateTime(dateFormat);

        int year = localDateTime.getYear();
        int month = localDateTime.getMonth().getValue();
        int day = localDateTime.getDayOfMonth();

        StringBuilder sb = new StringBuilder();

        sb.append(year);

        if(month < 10) {
            sb.append(0);
        }
        sb.append(month);

        if(day < 10) {
            sb.append(0);
        }
        sb.append(day);

        return sb.toString();
    }

}