Specifies a locale sensitive numerical date format pattern.
Note that the time part is 24 hour based and is not locale sensitive.
Orders the year and month parts according to locale,
with two-digit month and day parts and two or four digit year.
LocaleDateTimePattern pattern = LocaleDateTimePattern.builder()
.delimiterDash()
.yearFourDigits()
.hoursMinutes()
.build();
Locale iceland = new Locale("is", "IS");
Locale us = new Locale("en", "US");
pattern.datePattern(iceland); // "dd-MM-yyyy"
pattern.datePattern(us); // "MM-dd-yyyy"
pattern.dateTimePattern(iceland);// "dd-MM-yyyy HH:mm"
pattern.dateTimePattern(us) ;// "MM-dd-yyyy HH:mm"