Here you can find the source of getLrsLocalDate(String lbdcDate)
Parameter | Description |
---|
public static LocalDate getLrsLocalDate(String lbdcDate)
//package com.java2s; //License from project: BSD License import java.time.*; import java.time.format.DateTimeFormatter; public class Main { public final static DateTimeFormatter LRS_DATE_ONLY_FORMAT = DateTimeFormatter.ofPattern("yyyy-MM-dd"); /**/* w w w . ja v a 2 s . c o m*/ * Extract the LocalDate value from the LRS formatted date string. * @throws java.time.format.DateTimeParseException if unable to parse the requested result. */ public static LocalDate getLrsLocalDate(String lbdcDate) { return LocalDate.from(LRS_DATE_ONLY_FORMAT.parse(lbdcDate)); } }