Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.compare/compare/org/eclipse/compare/IModificationDate.java')
-rw-r--r--bundles/org.eclipse.compare/compare/org/eclipse/compare/IModificationDate.java27
1 files changed, 27 insertions, 0 deletions
diff --git a/bundles/org.eclipse.compare/compare/org/eclipse/compare/IModificationDate.java b/bundles/org.eclipse.compare/compare/org/eclipse/compare/IModificationDate.java
new file mode 100644
index 000000000..a0bcbb9a2
--- /dev/null
+++ b/bundles/org.eclipse.compare/compare/org/eclipse/compare/IModificationDate.java
@@ -0,0 +1,27 @@
+/*
+ * Licensed Materials - Property of IBM,
+ * WebSphere Studio Workbench
+ * (c) Copyright IBM Corp 2001
+ */
+package org.eclipse.compare;
+
+/**
+ * Common interface for objects with a modification date. The modification date
+ * can be used in the UI to give the user a general idea of how old an object is.
+ * <p>
+ * Clients may implement this interface.
+ * </p>
+ */
+public interface IModificationDate {
+
+ /**
+ * Returns the modification time of this object.
+ * <p>
+ * Note that this value should only be used to give the user a general idea of how
+ * old the object is.
+ *
+ * @return the time of last modification, in milliseconds since
+ * January 1, 1970, 00:00:00 GMT
+ */
+ long getModificationDate();
+}

Back to the top