Subversion Repositories XServices

Rev

Rev 70 | Go to most recent revision | Show entire file | Regard 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 81... Line 82...
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();
Line 84... Line 85...
84
	
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();
-
 
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).
88
	 * 
98
	 * 
89
	 * @param cal date time.
99
	 * @param cal date time.