oday
03/02/2018, 9:28 AMcreated_at
where created_at
is like "Fri, 16 Feb 2018 10:24:59 GMT"
diesieben07
03/02/2018, 9:31 AMjava.time.format.DateTimeFormatter
that corresponds to your pattern (using ofPattern
). Then you can use parse
method on that formatter and pass the result to Instant.from
. Now you can sort the list.