001package org.kuali.coeus.s2sgen.impl.datetime; 002 003import org.kuali.coeus.sys.api.model.ScaleTwoDecimal; 004 005import java.util.Calendar; 006 007public interface S2SDateTimeService { 008 009 ScaleTwoDecimal getNumberOfMonths(java.util.Date dateStart, java.util.Date dateEnd); 010 011 String removeTimezoneFactor(String applicationXmlText); 012 013 /** 014 * 015 * This method returns a {@link java.util.Calendar} whose date matches the date passed 016 * as {@link String} 017 * 018 * @param dateStr 019 * string for which the Calendar value has to be found. 020 * @return Calendar calendar value corresponding to the date string. 021 */ 022 Calendar convertDateStringToCalendar(String dateStr); 023 024 /** 025 * 026 * This method is used to get Calendar date 027 * 028 * @param date(Date) 029 * date for which Calendar value has to be found. 030 * @return cal(Calendar) calendar value corresponding to the date. 031 */ 032 Calendar convertDateToCalendar(java.util.Date date); 033}