com.sta.mutils.DateTimeUtils Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xtools Show documentation
Show all versions of xtools Show documentation
Executable tools for all projects.
package com.sta.mutils;
/**
* Name: TimeUtils
* Description: Constants and help methods for date and time processing.
*
* Comment: ...
*
* Copyright: Copyright (c) 2020
* Company: >StA-Soft<
* @author StA
* @version 1.0
*/
public class DateTimeUtils
{
/**
* A second in ms.
*/
public static final long SECOND = 1000L;
/**
* A minute in ms.
*/
public static final long MINUTE = 60L * SECOND;
/**
* An hour in ms.
*/
public static final long HOUR = 60L * MINUTE;
/**
* A day in ms.
*/
public static final long DAY = 24L * HOUR;
//===========================================================================
/**
* Dummy-Constructor.
*/
protected DateTimeUtils()
{
}
}