29303132333435
@Override public DateOnly convert(String value, AuraLocale locale) { DateService dateService = DateServiceImpl.get(); Date d = dateService.getDateISO8601Converter().parse(value, locale.getTimeZone()); return new DateOnly(d.getTime()); }
489490491492493494495496
} @AuraEnabled public DateOnly getDateOnly() { // Sep 23, 2004 DateOnly d = new DateOnly(1095957000000L); return d; }
28293031323334
if (value == null || value.isEmpty()) { return null; } DateService dateService = DateServiceImpl.get(); Date d = dateService.getGenericISO8601Converter().parse(value); return d == null ? null : new DateOnly(d.getTime()); }
299300301302303304305306
555556557558559560561562