@Test public void testGetUpdated() { Entity defect = new Entity("defect", 1); defect.setProperty("last-modified", "2012-12-12 12:12:12"); HpAlmTask task = new HpAlmTask(getProject(), defect); Assert.assertEquals("2012-12-12 12:12:12 +0100", HpAlmCommentTest.format.format(task.getUpdated())); }
public Date getUpdated() { return parseDate(entity.getPropertyValue("last-modified")); }
HpAlmTask extends Task { public Date getUpdated() { return parseDate(entity.getPropertyValue("last-modified")); } }
HpAlmTask extends Task { public Date getUpdated() { return parseDate(entity.getPropertyValue("last-modified")); } HpAlmTask(Project project, Entity entity); }
HpAlmTask extends Task { public Date getUpdated() { return parseDate(entity.getPropertyValue("last-modified")); } HpAlmTask(Project project, Entity entity); boolean isInitialized(); String getId(); String getSummary(); String getDescription(); Comment[] getComments(); Icon getIcon(); TaskType getType(); Date getUpdated(); Date getCreated(); boolean isClosed(); String getCustomIcon(); boolean isIssue(); String getIssueUrl(); static Date parseDate(String dateStr); static String getDescriptionField(String entityType); }
HpAlmTask extends Task { public Date getUpdated() { return parseDate(entity.getPropertyValue("last-modified")); } HpAlmTask(Project project, Entity entity); boolean isInitialized(); String getId(); String getSummary(); String getDescription(); Comment[] getComments(); Icon getIcon(); TaskType getType(); Date getUpdated(); Date getCreated(); boolean isClosed(); String getCustomIcon(); boolean isIssue(); String getIssueUrl(); static Date parseDate(String dateStr); static String getDescriptionField(String entityType);  }