/ ** * the @deprecated * This method uses the deprecated java.util.Date Date (String s) Constructor * * @param DATE date format (YYYYMMDD) * @return a Date string format * / @Deprecated public convertDate String (String DATE) { return new new a Date (DATE) .toString (); }
Notes @Deprecated expressed abandoned, does not encourage the use of program elements, or because there is a better alternative.