forbidden api

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893581 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2021-09-23 20:16:54 +00:00
parent 8dc976cf31
commit 3f6a7285fb
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ public class DateUtil {
.appendPattern("[M/dd[/yyyy]][[ ]h:m[:s][.SSS] a][[ ]H:m[:s][.SSS]]")
.appendPattern("[[yyyy/]M/dd][[ ]h:m[:s][.SSS] a][[ ]H:m[:s][.SSS]]")
.parseDefaulting(ChronoField.YEAR_OF_ERA, LocaleUtil.getLocaleCalendar().get(Calendar.YEAR))
.toFormatter();
.toFormatter(LocaleUtil.getUserLocale());
/**
* Convert a Java Date (at UTC) to LocalDateTime.