Constructor and Description |
---|
Durations() |
Modifier and Type | Method and Description |
---|---|
static String |
abbreviate(ChronoUnit unit) |
static int |
compare(long length1,
TimeUnit unit1,
long length2,
TimeUnit unit2) |
static Duration |
min(Duration x,
Duration y) |
static TemporalUnit |
parse(String unitName) |
public static String abbreviate(ChronoUnit unit)
public static TemporalUnit parse(String unitName)
Copyright © 2012–2023. All rights reserved.