MCPcopy Create free account
hub / github.com/apache/ant / format

Method format

src/main/org/apache/tools/ant/util/DateUtils.java:128–130  ·  view source on GitHub ↗

Format a date/time into a specific pattern. @param date the date to format expressed in milliseconds. @param pattern the pattern to use to format the date. @return the formatted date.

(long date, String pattern)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

startTestSuiteMethod · 0.95
writeTestSuiteMethod · 0.95
testDateTimeISOMethod · 0.95
testDateISOMethod · 0.95
testTimeISODateMethod · 0.95
testTimeISOMethod · 0.95
topoSortMethod · 0.80
throwableMessageMethod · 0.80
buildFinishedMethod · 0.80
targetStartedMethod · 0.80
messageLoggedMethod · 0.80
getTimestampMethod · 0.80

Calls 1

createDateFormatMethod · 0.95

Tested by 15

testDateTimeISOMethod · 0.76
testDateISOMethod · 0.76
testTimeISODateMethod · 0.76
testTimeISOMethod · 0.76
testThrowableMessageMethod · 0.64
assertContainsMethod · 0.64
assertNotContainsMethod · 0.64
testTimeZoneMethod · 0.64
testWriteOrderMethod · 0.64
testModulesourcepathMethod · 0.64
testDirectMethod · 0.64