mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-15 13:35:04 -05:00
20 lines
223 B
Java
20 lines
223 B
Java
|
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";
|
||
|
}
|
||
|
|
||
|
}
|