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

Method setUnit

src/main/org/apache/tools/ant/taskdefs/Tstamp.java:281–287  ·  view source on GitHub ↗

Set the unit type (using String). @param unit the unit to use. @deprecated since 1.5.x. setUnit(String) is deprecated and is replaced with setUnit(Tstamp.Unit) to make Ant's Introspection mechanism do the work and also to encapsulate operations on the

(String unit)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

getCalendarFieldMethod · 0.95
logMethod · 0.65
setValueMethod · 0.45

Tested by

no test coverage detected