Subversion Repositories XServices

Rev

Rev 70 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 70 Rev 71
Line 45... Line 45...
45
public interface DateService {
45
public interface DateService {
Line 46... Line 46...
46
	
46
	
47
	public static final String SERVICE_NAME = "DateService";
47
	public static final String SERVICE_NAME = "DateService";
48
	final String OPERATION_GETDATE = "getDate";
48
	final String OPERATION_GETDATE = "getDate";
-
 
49
	final String OPERATION_GETTIMESTAMP = "getTimestamp";
49
	final String OPERATION_GETTIMESTAMP = "getTimestamp";
50
	final String OPERATION_GETTIMESTAMP2 = "getTimestamp2";
50
	final String OPERATION_GETINTIMEZONE = "getInTimezone";
51
	final String OPERATION_GETINTIMEZONE = "getInTimezone";
51
	final String OPERATION_FORMATDATE = "formatDate";
52
	final String OPERATION_FORMATDATE = "formatDate";
52
	final String OPERATION_FORMATDATEADVANCED = "formatDateAdvanced";	
53
	final String OPERATION_FORMATDATEADVANCED = "formatDateAdvanced";	
53
	final String OPERATION_PARSEDATE = "parseDate";
54
	final String OPERATION_PARSEDATE = "parseDate";
Line 79... Line 80...
79
	 * @return timestamp milliseconds
80
	 * @return timestamp milliseconds
80
	 */
81
	 */
81
	@WebMethod(operationName=OPERATION_GETTIMESTAMP)
82
	@WebMethod(operationName=OPERATION_GETTIMESTAMP)
82
	@WSDLDocumentation(value="Get milliseconds since 01.01.1970 (Unix timestap).")
83
	@WSDLDocumentation(value="Get milliseconds since 01.01.1970 (Unix timestap).")
83
	public abstract BigInteger getTimestamp();
84
	public abstract BigInteger getTimestamp();
-
 
85
 
-
 
86
	/**
-
 
87
	 * Get seconds since 01.01.1970.
-
 
88
	 * 
-
 
89
	 * @return timestamp seconds
-
 
90
	 */
-
 
91
	@WebMethod(operationName=OPERATION_GETTIMESTAMP2)
-
 
92
	@WSDLDocumentation(value="Get seconds since 01.01.1970 (Unix timestap).")
-
 
93
	public abstract BigInteger getTimestamp2();
Line 84... Line 94...
84
	
94
	
85
	/**
95
	/**
86
	 * Display a date time with a different time zone. 
96
	 * Display a date time with a different time zone. 
87
	 * Changes representation only (no conversion).
97
	 * Changes representation only (no conversion).