Code example for XMLGregorianCalendar

Methods: compare

		public int compare(Object o1, Object o2) {
			TimestampMaster master = new TimestampMaster();
			XMLGregorianCalendar timestamp1 = master.getTimestamp(o1);
			XMLGregorianCalendar timestamp2 = master.getTimestamp(o2);
	 * @return the final response of the last execution of this replication 
	 * protocol. If there was no execution of this protocol yet or if there's 
	 * an undergoing execution, null is returned 
	public Object getResponse() { return this.finalResponse; }
	 * Sets the final response of the protocol's execution. 
	 * @param resp 
	 * 		the desired response 
Connect your IDE to all the code out there  Get Codota for Java