@Test(expected = IllegalArgumentException.class) public void testFormatIntervalNegValue() { this.xu.formatTimeInterval(-1, 0, 0, 0, 0, 0); }
public String formatTimeInterval(final long milliseconds) { return "PT" + (double) milliseconds / 1000 + "S"; }
XMLUtil { public String formatTimeInterval(final long milliseconds) { return "PT" + (double) milliseconds / 1000 + "S"; } }
XMLUtil { public String formatTimeInterval(final long milliseconds) { return "PT" + (double) milliseconds / 1000 + "S"; } XMLUtil(final XMLEscaper escaper); }
XMLUtil { public String formatTimeInterval(final long milliseconds) { return "PT" + (double) milliseconds / 1000 + "S"; } XMLUtil(final XMLEscaper escaper); static XMLUtil create(); void appendEAttribute(final Appendable appendable, final CharSequence attrName,
                                 final String attrRawValue); void appendAttribute(final Appendable appendable, final CharSequence attrName,
                                final boolean attrValue); void appendAttribute(final Appendable appendable, final CharSequence attrName,
                                final int attrValue); void appendAttribute(final Appendable appendable, final CharSequence attrName,
                                final CharSequence attrValue); void appendAttribute(final Appendable appendable, final CharSequence attrName,
                                final AttributeValue attrValue); void appendAttribute(final Appendable appendable, final CharSequence attrName,
                                final List<?> attrs, final String sep); void appendTag(final Appendable appendable, final CharSequence tagName,
                          final String content); String escapeXMLAttribute(final String s); String escapeXMLContent(final String s); String formatTimeInterval(final long milliseconds); String formatTimeInterval(final long years, final long months, final long days,
                                     final long hours, final long minutes, final double seconds); String formatNegTimeInterval(final long years, final long months, final long days,
                                        final long hours, final long minutes,
                                        final double seconds); }
XMLUtil { public String formatTimeInterval(final long milliseconds) { return "PT" + (double) milliseconds / 1000 + "S"; } XMLUtil(final XMLEscaper escaper); static XMLUtil create(); void appendEAttribute(final Appendable appendable, final CharSequence attrName,
                                 final String attrRawValue); void appendAttribute(final Appendable appendable, final CharSequence attrName,
                                final boolean attrValue); void appendAttribute(final Appendable appendable, final CharSequence attrName,
                                final int attrValue); void appendAttribute(final Appendable appendable, final CharSequence attrName,
                                final CharSequence attrValue); void appendAttribute(final Appendable appendable, final CharSequence attrName,
                                final AttributeValue attrValue); void appendAttribute(final Appendable appendable, final CharSequence attrName,
                                final List<?> attrs, final String sep); void appendTag(final Appendable appendable, final CharSequence tagName,
                          final String content); String escapeXMLAttribute(final String s); String escapeXMLContent(final String s); String formatTimeInterval(final long milliseconds); String formatTimeInterval(final long years, final long months, final long days,
                                     final long hours, final long minutes, final double seconds); String formatNegTimeInterval(final long years, final long months, final long days,
                                        final long hours, final long minutes,
                                        final double seconds); static final String XML_PROLOG; static final char SPACE_CHAR; }