Code example for Time

Methods: before

0
			localTime = book.getLastModifiedTime();
			state = null;
		} 
		 
		protected void setRemote(UUID uuid, String title, Time mtime) {
			if (remote && mtime.before(remoteTime)) {
				// Log.e(TAG, "skipping remote "+uuid + " " + mtime.toMillis(false)); 
				return;   // is an older backup 
			} 
			// Log.e(TAG, "adding remote "+uuid + " " + mtime.toMillis(false)); 
			remote = true;
			Assert.assertTrue(this.uuid.equals(uuid));
			remoteTitle = title;
			remoteTime = mtime;
			state = null;
		} 
		 
		private State computeState() { 
			Assert.assertTrue(local || remote);
			if (!local)
				return State.REMOTE_IS_NEWER;