package codeu.chat.common;

import java.io.IOException;
import codeu.chat.util.Uuid;
import codeu.chat.util.Time;

public final class ServerInfo {
  public final Time startTime;
  private final static String SERVER_VERSION = "1.0.0";
  public final Uuid version;
  
  public ServerInfo() throws IOException {
    this.startTime = Time.now();
    this.version = Uuid.parse(SERVER_VERSION);
  }
  
  public ServerInfo(Uuid version, Time startTime) {
    this.version = version;
    this.startTime = startTime;
  }
}

@@ -139,29 +139,30 @@
 erInfo %7B%0A  p
-ublic
+rivate
  final Time 
@@ -172,16 +172,46 @@
 rtTime;%0A
+  private final Uuid version;%0A
   privat
@@ -262,37 +262,8 @@
 0%22;%0A
-  public final Uuid version;%0A
   %0A 
@@ -507,10 +507,126 @@
 me;%0A  %7D%0A
+  %0A  public Uuid getVersion() %7B%0A    return version;%0A  %7D%0A  %0A  public Time getStartTime() %7B%0A    return startTime;%0A  %7D%0A
 %7D%0A

add getter functions to ServerInfo