日期:2014-05-20 浏览次数:20944 次
import java.text.*; import java.util.*; public class Test77 { public static void main(String[] args) throws ParseException { String se = "01Dec031723"; SimpleDateFormat sdfe = new SimpleDateFormat("ddMMMyyHHmm", Locale.ENGLISH); System.out.println(sdfe.parse(se)); String sc = "01十二月031723"; SimpleDateFormat sdfc = new SimpleDateFormat("ddMMMyyHHmm"); System.out.println(sdfc.parse(sc)); } }