com.sta.mutils.DateTimeUtils Maven / Gradle / Ivy
package com.sta.mutils;
/**
* Name: TimeUtils
* Description: Constants and help methods for date and time processing.
*
* Comment: ...
*
* Copyright: Copyright (c) 2020, 2023
* 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;
/**
* A Week in ms.
*/
private static final long WEEK = 7L * DAY;
//===========================================================================
/**
* Dummy-Constructor.
*/
protected DateTimeUtils()
{
}
}