KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > compare > IModificationDate


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.compare;
12
13 /**
14  * Common interface for objects with a modification date. The modification date
15  * can be used in the UI to give the user a general idea of how old an object is.
16  * <p>
17  * Clients may implement this interface.
18  * </p>
19  */

20 public interface IModificationDate {
21     
22     /**
23      * Returns the modification time of this object.
24      * <p>
25      * Note that this value should only be used to give the user a general idea of how
26      * old the object is.
27      *
28      * @return the time of last modification, in milliseconds since January 1, 1970, 00:00:00 GMT
29      */

30     long getModificationDate();
31 }
32
Popular Tags