Class MstDate
- java.lang.Object
-
- de.desy.mst.libs.framework.mstapp.util.MstDate
-
public class MstDate extends java.lang.Object
Date Utilities- Version:
- 1.0.0
- Author:
- ws
-
-
Field Summary
Fields Modifier and Type Field Description static long
DAY_IN_MS
static long
HOUR_IN_MS
static long
MINUTE_IN_MS
static long
SECOND_IN_MS
-
Constructor Summary
Constructors Constructor Description MstDate()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Date
abrundenAufTage(int tage, java.util.Date in)
Morgens 0 Uhr nach lokaler Zeit, tage == 0 ...static java.lang.String
msIntervalToText(long msIntervall)
a time interval in ms as Text like "0 Tage 00:00:05"
-
-
-
Field Detail
-
SECOND_IN_MS
public static final long SECOND_IN_MS
- See Also:
- Constant Field Values
-
MINUTE_IN_MS
public static final long MINUTE_IN_MS
- See Also:
- Constant Field Values
-
HOUR_IN_MS
public static final long HOUR_IN_MS
- See Also:
- Constant Field Values
-
DAY_IN_MS
public static final long DAY_IN_MS
- See Also:
- Constant Field Values
-
-
Method Detail
-
abrundenAufTage
public static java.util.Date abrundenAufTage(int tage, java.util.Date in)
Morgens 0 Uhr nach lokaler Zeit, tage == 0 ... heute, 7 ... eine Woche
-
msIntervalToText
public static java.lang.String msIntervalToText(long msIntervall)
a time interval in ms as Text like "0 Tage 00:00:05"
-
-