Yesterday I created this wonderful static method and it worked fine - yesterday
However, today it gives me this error. I think this is because the number 0 to Z is too large.
Can anyone recommend parsing (Java 8) of this type of String format date - given that it worked yesterday, so is ISO_INSTANT also a valid format for String ?
Caused by: java.time.DateTimeException: Unable to obtain LocalDate from TemporalAccessor: {NanoOfSecond=0, InstantSeconds=1443451604, MilliOfSecond=0, MicroOfSecond=0},ISO of type java.time.format.Parsed at java.time.LocalDate.from(LocalDate.java:368) at java.time.LocalDateTime.from(LocalDateTime.java:456) ... 9 more
throw exception during input: "2015-09-28T14: 46: 44.000000Z"
public static LocalDateTime parseTimeINSTANT(String time) { DateTimeFormatter f = DateTimeFormatter.ISO_INSTANT; return LocalDateTime.from(f.parse(time)); }

ycomp source share