/** * Constructor * * @param fmt the date format */ protected DateFormatRecord(String fmt) { super(); // Do the replacements in the format string String fs = fmt; fs = replace(fs, "a", "AM/PM"); fs = replace(fs, "S", "0"); setFormatString(fs); } }
/** * Constructor * * @param fmt the date format */ protected DateFormatRecord(String fmt) { super(); // Do the replacements in the format string String fs = fmt; fs = replace(fs, "a", "AM/PM"); fs = replace(fs, "S", "0"); setFormatString(fs); } }