Name

SPVM::Sys::Time::Constant - Constant Values for Time

Usage

use Sys::Time::Constant;

Description

Sys::Time::Constant provides the methods for the constant values for the time manipulation.

Class Methods

CLOCKS_PER_SEC

static method CLOCKS_PER_SEC : int ();

Get the constant value of CLOCKS_PER_SEC. If the system doesn't define this constant, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.

CLOCK_BOOTTIME

static method CLOCK_BOOTTIME : int ();

Get the constant value of CLOCK_BOOTTIME. If the system doesn't define this constant, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.

CLOCK_HIGHRES

static method CLOCK_HIGHRES : int ();

Get the constant value of CLOCK_HIGHRES. If the system doesn't define this constant, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.

CLOCK_MONOTONIC

static method CLOCK_MONOTONIC : int ();

Get the constant value of CLOCK_MONOTONIC. If the system doesn't define this constant, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.

CLOCK_MONOTONIC_COARSE

static method CLOCK_MONOTONIC_COARSE : int ();

Get the constant value of CLOCK_MONOTONIC_COARSE. If the system doesn't define this constant, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.

CLOCK_MONOTONIC_FAST

static method CLOCK_MONOTONIC_FAST : int ();

Get the constant value of CLOCK_MONOTONIC_FAST. If the system doesn't define this constant, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.

CLOCK_MONOTONIC_PRECISE

static method CLOCK_MONOTONIC_PRECISE : int ();

Get the constant value of CLOCK_MONOTONIC_PRECISE. If the system doesn't define this constant, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.

CLOCK_MONOTONIC_RAW

static method CLOCK_MONOTONIC_RAW : int ();

Get the constant value of CLOCK_MONOTONIC_RAW. If the system doesn't define this constant, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.

CLOCK_PROCESS_CPUTIME_ID

static method CLOCK_PROCESS_CPUTIME_ID : int ();

Get the constant value of CLOCK_PROCESS_CPUTIME_ID. If the system doesn't define this constant, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.

CLOCK_PROF

static method CLOCK_PROF : int ();

Get the constant value of CLOCK_PROF. If the system doesn't define this constant, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.

CLOCK_REALTIME

static method CLOCK_REALTIME : int ();

Get the constant value of CLOCK_REALTIME. If the system doesn't define this constant, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.

CLOCK_REALTIME_COARSE

static method CLOCK_REALTIME_COARSE : int ();

Get the constant value of CLOCK_REALTIME_COARSE. If the system doesn't define this constant, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.

CLOCK_REALTIME_FAST

static method CLOCK_REALTIME_FAST : int ();

Get the constant value of CLOCK_REALTIME_FAST. If the system doesn't define this constant, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.

CLOCK_REALTIME_PRECISE

static method CLOCK_REALTIME_PRECISE : int ();

Get the constant value of CLOCK_REALTIME_PRECISE. If the system doesn't define this constant, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.

CLOCK_REALTIME_RAW

static method CLOCK_REALTIME_RAW : int ();

Get the constant value of CLOCK_REALTIME_RAW. If the system doesn't define this constant, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.

CLOCK_SECOND

static method CLOCK_SECOND : int ();

Get the constant value of CLOCK_SECOND. If the system doesn't define this constant, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.

CLOCK_SOFTTIME

static method CLOCK_SOFTTIME : int ();

Get the constant value of CLOCK_SOFTTIME. If the system doesn't define this constant, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.

CLOCK_THREAD_CPUTIME_ID

static method CLOCK_THREAD_CPUTIME_ID : int ();

Get the constant value of CLOCK_THREAD_CPUTIME_ID. If the system doesn't define this constant, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.

CLOCK_TIMEOFDAY

static method CLOCK_TIMEOFDAY : int ();

Get the constant value of CLOCK_TIMEOFDAY. If the system doesn't define this constant, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.

CLOCK_UPTIME

static method CLOCK_UPTIME : int ();

Get the constant value of CLOCK_UPTIME. If the system doesn't define this constant, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.

CLOCK_UPTIME_COARSE

static method CLOCK_UPTIME_COARSE : int ();

Get the constant value of CLOCK_UPTIME_COARSE. If the system doesn't define this constant, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.

CLOCK_UPTIME_FAST

static method CLOCK_UPTIME_FAST : int ();

Get the constant value of CLOCK_UPTIME_FAST. If the system doesn't define this constant, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.

CLOCK_UPTIME_PRECISE

static method CLOCK_UPTIME_PRECISE : int ();

Get the constant value of CLOCK_UPTIME_PRECISE. If the system doesn't define this constant, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.

CLOCK_UPTIME_RAW

static method CLOCK_UPTIME_RAW : int ();

Get the constant value of CLOCK_UPTIME_RAW. If the system doesn't define this constant, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.

CLOCK_VIRTUAL

static method CLOCK_VIRTUAL : int ();

Get the constant value of CLOCK_VIRTUAL. If the system doesn't define this constant, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.

ITIMER_PROF

static method ITIMER_PROF : int ();

Get the constant value of ITIMER_PROF. If the system doesn't define this constant, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.

ITIMER_REAL

static method ITIMER_REAL : int ();

Get the constant value of ITIMER_REAL. If the system doesn't define this constant, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.

ITIMER_REALPROF

static method ITIMER_REALPROF : int ();

Get the constant value of ITIMER_REALPROF. If the system doesn't define this constant, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.

ITIMER_VIRTUAL

static method ITIMER_VIRTUAL : int ();

Get the constant value of ITIMER_VIRTUAL. If the system doesn't define this constant, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.

TIMER_ABSTIME

static method TIMER_ABSTIME : int ();

Get the constant value of TIMER_ABSTIME. If the system doesn't define this constant, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.

Copyright & License

Copyright (c) 2023 Yuki Kimoto

MIT License