Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java localdate to calendar

// LocalDate to Calendar    
Calendar calendar = Calendar.getInstance();
calendar.setTime(Date.from(localDate.atStartOfDay(ZoneId.systemDefault()).toInstant()));
Source by mkyong.com #
 
PREVIOUS NEXT
Tagged: #java #localdate #calendar
ADD COMMENT
Topic
Name
6+4 =