Ejemplo n.º 1
0
 @Override
 public String getColumnText(Object element, XViewerColumn column, int columnIndex) {
   if (element instanceof Change) {
     return DateUtil.getMMDDYYHHMM(((Change) element).getTxDelta().getEndTx().getTimeStamp());
   }
   return "";
 }
Ejemplo n.º 2
0
  @Test
  public void testToString() throws OseeCoreException {
    Date date = new Date();
    IAtsLogItem item = getTestLogItem(date, user);

    Assert.assertEquals(
        "my msg (Error)from Analyze by " + user.getName() + " on " + DateUtil.getMMDDYYHHMM(date),
        item.toString());
  }