MCPcopy Create free account
hub / github.com/BaseXdb/basex / get

Method get

basex-core/src/main/java/org/basex/query/value/item/DTDur.java:168–170  ·  view source on GitHub ↗

Returns a dayTimeDuration item for the specified milliseconds. @param ms milliseconds @return dateTime instance

(final long ms)

Source from the content-addressed store, hash-verified

166 * @return dateTime instance
167 */
168 public static DTDur get(final long ms) {
169 return new DTDur(BigDecimal.valueOf(ms).divide(BD_1000, MathContext.DECIMAL64));
170 }
171}

Callers 5

itemMethod · 0.95
timeMethod · 0.95
valueMethod · 0.95
itemMethod · 0.95
formatDateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected