10/Jan/2021:07:21:40 to java time

	DateTimeFormatter formatter = new DateTimeFormatterBuilder().appendPattern("dd/MMM/yyyy:HH:mm:ss")
					.toFormatter(Locale.CHINA);
			
			LocalDateTime localDate = LocalDateTime.parse(model.getTimestamp().replace(" +0800", ""), formatter);

  

上一篇:JAVA8新特性


下一篇:2020 ccpc 威海 G.Caesar Cipher(线段树维护哈希)