aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/java/com/libmailcore/NNTPFetchServerTimeOperation.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/com/libmailcore/NNTPFetchServerTimeOperation.java')
-rw-r--r--src/java/com/libmailcore/NNTPFetchServerTimeOperation.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/java/com/libmailcore/NNTPFetchServerTimeOperation.java b/src/java/com/libmailcore/NNTPFetchServerTimeOperation.java
new file mode 100644
index 00000000..41af4152
--- /dev/null
+++ b/src/java/com/libmailcore/NNTPFetchServerTimeOperation.java
@@ -0,0 +1,8 @@
+package com.libmailcore;
+
+import java.util.Date;
+
+/** Operation to fetch the server time. */
+public class NNTPFetchServerTimeOperation extends NNTPOperation {
+ public native Date time();
+}