Subversion Repositories XServices

Rev

Rev 69 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 69 Rev 70
Line 142... Line 142...
142
	@WebMethod(operationName=OPERATION_FORMATDATEADVANCED)
142
	@WebMethod(operationName=OPERATION_FORMATDATEADVANCED)
143
	public abstract String formatDateAdvanced(
143
	public abstract String formatDateAdvanced(
144
			@WebParam(name=PARAM_DATETIME) @XmlElement(required=true) GregorianCalendar cal,
144
			@WebParam(name=PARAM_DATETIME) @XmlElement(required=true) GregorianCalendar cal,
145
			@WebParam(name=PARAM_FORMAT) @XmlElement(required=true) String format) throws XServicesFault;
145
			@WebParam(name=PARAM_FORMAT) @XmlElement(required=true) String format) throws XServicesFault;
Line -... Line 146...
-
 
146
	
-
 
147
	/**
-
 
148
	 * Converts a string into date using pre-defined date formats.
-
 
149
	 * 
-
 
150
	 * @param s Date/ time as string
-
 
151
	 * @param format date format
-
 
152
	 * @param timezone timezone
-
 
153
	 * @return XML Date
-
 
154
	 * @throws XServicesFault
146
	
155
	 */
147
	@WebMethod(operationName=OPERATION_PARSEDATE)
156
	@WebMethod(operationName=OPERATION_PARSEDATE)
148
	public abstract GregorianCalendar parseDate(
157
	public abstract GregorianCalendar parseDate(
149
			@WebParam(name=PARAM_DATETIME) @XmlElement(required=true) String s,
158
			@WebParam(name=PARAM_DATETIME) @XmlElement(required=true) String s,
150
			@WebParam(name=PARAM_FORMAT) @XmlElement(required=true) DateFormatType format,
159
			@WebParam(name=PARAM_FORMAT) @XmlElement(required=true) DateFormatType format,
Line -... Line 160...
-
 
160
			@WebParam(name=PARAM_TIMEZONE) String timezone) throws XServicesFault;
-
 
161
	
-
 
162
	/**
-
 
163
	 * Converts a string into date using any format.
-
 
164
	 * @param s date/ time as string
-
 
165
	 * @param format date format
-
 
166
	 * @param timezone timezone
-
 
167
	 * @return XML Date
151
			@WebParam(name=PARAM_TIMEZONE) String timezone) throws XServicesFault;
168
	 * @throws XServicesFault
152
	
169
	 */
153
	@WebMethod(operationName=OPERATION_PARSEDATEADVANCED)
170
	@WebMethod(operationName=OPERATION_PARSEDATEADVANCED)
154
	public abstract GregorianCalendar parseDateAdvanced(
171
	public abstract GregorianCalendar parseDateAdvanced(
155
			@WebParam(name=PARAM_DATETIME) @XmlElement(required=true) String s,
172
			@WebParam(name=PARAM_DATETIME) @XmlElement(required=true) String s,