Constructor and Description |
---|
DateUtil() |
Modifier and Type | Method and Description |
---|---|
private static void |
appendInterval(StringBuilder interval,
int count,
String type) |
static String |
getDuration(Calendar cal1,
Calendar cal2) |
static String |
getDuration(Date d1,
Date d2) |
static String |
getDuration(long duration) |
static String |
getDuration(long ms1,
long ms2) |
public DateUtil()
public static String getDuration(long duration)
public static String getDuration(long ms1, long ms2)
public static String getDuration(Date d1, Date d2)
public static String getDuration(Calendar cal1, Calendar cal2)
private static void appendInterval(StringBuilder interval, int count, String type)
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.