aboutsummaryrefslogtreecommitdiffstats
path: root/src/de/gultsch/chat/Message.java
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-01-24 02:04:05 +0100
committerDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-01-24 02:04:05 +0100
commit35f8ab58f4b6f97f02031b056d2a5f6f993672cf (patch)
treef3b9cda64e6e08337a44588a564d5194fe8b3225 /src/de/gultsch/chat/Message.java
inital commit
Diffstat (limited to 'src/de/gultsch/chat/Message.java')
-rw-r--r--src/de/gultsch/chat/Message.java19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/de/gultsch/chat/Message.java b/src/de/gultsch/chat/Message.java
new file mode 100644
index 00000000..b4e5e7ca
--- /dev/null
+++ b/src/de/gultsch/chat/Message.java
@@ -0,0 +1,19 @@
+package de.gultsch.chat;
+
+public class Message {
+
+ String msg;
+
+ public Message(String msg) {
+ this.msg = msg;
+ }
+
+ public String toString() {
+ return msg;
+ }
+
+ public String getTimeReadable() {
+ return "2 min";
+ }
+
+}