View Javadoc
1   package org.kuali.coeus.s2sgen.impl.datetime;
2   
3   import org.kuali.coeus.sys.api.model.ScaleTwoDecimal;
4   
5   import java.util.Calendar;
6   
7   public interface S2SDateTimeService {
8   
9       ScaleTwoDecimal getNumberOfMonths(java.util.Date dateStart, java.util.Date dateEnd);
10  
11      String removeTimezoneFactor(String applicationXmlText);
12  
13      /**
14       *
15       * This method returns a {@link java.util.Calendar} whose date matches the date passed
16       * as {@link String}
17       *
18       * @param dateStr
19       *            string for which the Calendar value has to be found.
20       * @return Calendar calendar value corresponding to the date string.
21       */
22      Calendar convertDateStringToCalendar(String dateStr);
23  
24      /**
25       *
26       * This method is used to get Calendar date
27       *
28       * @param date(Date)
29       *            date for which Calendar value has to be found.
30       * @return cal(Calendar) calendar value corresponding to the date.
31       */
32      Calendar convertDateToCalendar(java.util.Date date);
33  }