@Test public final void testDt() { SimpleDateFormat dateFormatter = new SimpleDateFormat("yyyy-MM-dd"); Date date = null; assertEquals("", SipBuilder.dt(date)); date = new Date(); assertEquals(dateFormatter.format(date), SipBuilder.dt(date)); }
public static String dt(Date date) { return date == null ? "" : dateFormatter.format(date); }
SipBuilder { public static String dt(Date date) { return date == null ? "" : dateFormatter.format(date); } }
SipBuilder { public static String dt(Date date) { return date == null ? "" : dateFormatter.format(date); }  }
SipBuilder { public static String dt(Date date) { return date == null ? "" : dateFormatter.format(date); }  static String es(String str); static String dt(Date date); String getTargetSection(Long targetInstanceOid); Map<String, String> buildSipSections(TargetInstance inst); String getProfileNoteSection(TargetInstance inst); boolean updateTargetReference(AbstractTarget target, Map<String,String> sipSections); String getTargetSection(TargetInstance inst); String getPermissionSection(Long targetInstanceOid); String getPermissionSection(TargetInstance inst); void setTargetInstanceManager(TargetInstanceManager targetInstanceManager); void setTargetManager(TargetManager targetManager); }
SipBuilder { public static String dt(Date date) { return date == null ? "" : dateFormatter.format(date); }  static String es(String str); static String dt(Date date); String getTargetSection(Long targetInstanceOid); Map<String, String> buildSipSections(TargetInstance inst); String getProfileNoteSection(TargetInstance inst); boolean updateTargetReference(AbstractTarget target, Map<String,String> sipSections); String getTargetSection(TargetInstance inst); String getPermissionSection(Long targetInstanceOid); String getPermissionSection(TargetInstance inst); void setTargetInstanceManager(TargetInstanceManager targetInstanceManager); void setTargetManager(TargetManager targetManager);  }