1 /* 2 * File: ITimeMachineListener.java 3 * Copyright (c) 2004-2007 Peter Kliem (Peter.Kliem@jaret.de) 4 * A commercial license is available, see http://www.jaret.de. 5 * 6 * All rights reserved. This program and the accompanying materials 7 * are made available under the terms of the Common Public License v1.0 8 * which accompanies this distribution, and is available at 9 * http://www.eclipse.org/legal/cpl-v10.html 10 */ 11 package de.jaret.util.date.timemachine; 12 13 14 /** 15 * Listener that monitors a time machine. 16 * 17 * @author kliem 18 * @version $Id: ITimeMachineListener.java 702 2007-12-30 11:54:55Z kliem $ 19 */ 20 public interface ITimeMachineListener { 21 22 /** 23 * Method get called whenever the time in the time machine changed. 24 * 25 * @param timeMachine the time machine 26 * @param lastTime the last time of the time machine 27 * @param currentTime the new time of the time machine 28 */ 29 void timeChanged(TimeMachine timeMachine, long lastTime, long currentTime); 30 31 32 }