package edu.pdx.cs410J.whitlock.client;

import edu.pdx.cs410J.AbstractAppointment;

import java.util.Date;

public class Appointment extends AbstractAppointment
{
    @Override
    public String getBeginTimeString()
    {
        return "START " + getBeginTime();
    }

    @Override
    public String getEndTimeString()
    {
        return "END + " + getEndTime();
    }

    @Override
    public Date getEndTime()
    {
        return new Date();
    }

    @Override
    public String getDescription()
    {
        return "My description";
    }

    @Override
    public Date getBeginTime()
    {
        return new Date();
    }
}

@@ -30,24 +30,74 @@
 ck.client;%0A%0A
+import com.google.gwt.i18n.client.DateTimeFormat;%0A
 import edu.p
@@ -398,27 +398,199 @@
 D + %22 + 
-getEndTime(
+formatDate(getEndTime());%0A    %7D%0A%0A    private String formatDate(Date date) %7B%0A        String pattern = %22yyyy/MM/dd hh:mm a%22;%0A        return DateTimeFormat.getFormat(pattern).format(date
 );%0A    %7D

Use the GWT date/time formatter.