public class TimeUtil extends Object
Constructor and Description |
---|
TimeUtil() |
Modifier and Type | Method and Description |
---|---|
static org.joda.time.DateTime |
ceil(org.joda.time.DateTime dateTime,
int sec) |
static org.joda.time.DateTime |
floor(org.joda.time.DateTime dateTime,
int sec) |
static void |
sleepMilliSec(int milliSec) |
static void |
sleepSec(int sec) |
public static void sleepSec(int sec)
public static void sleepMilliSec(int milliSec)
public static org.joda.time.DateTime floor(org.joda.time.DateTime dateTime, int sec)
public static org.joda.time.DateTime ceil(org.joda.time.DateTime dateTime, int sec)
Copyright © 2023 The Apache Software Foundation. All rights reserved.