[java] joda time 일자 체크
<%@page import="org.joda.time.format.DateTimeFormatter"%>
<%@page import="org.joda.time.format.DateTimeFormat"%>
<%@page import="org.joda.time.DateTime"%>
DateTime currentDateTime = DateTime.now();
DateTimeFormatter formatter = DateTimeFormat.forPattern("yyyyMMddHHmmss");
DateTime naverEndDateTime = formatter.parseDateTime("20180218235959");
<% if(naverStartDateTime.isBefore(currentDateTime) && naverEndDateTime.isAfter(currentDateTime)){ %>
(중략)
<% } %>