Logo GenPRES

Time Module

Creates the Time units year, month, week, day, hour, minute and second with a given value or with the value 1.

Nested modules

Modules Description

Constants

Holds the abbreviations of the Time units.

Functions and values

Function or value Description

day

Full Usage: day

Returns: Unit

Create a Time unit day with unit value = 1

Returns: Unit

hour

Full Usage: hour

Returns: Unit

Create a Time unit hour with unit value = 1

Returns: Unit

minute

Full Usage: minute

Returns: Unit

Create a Time unit minute with unit value = 1

Returns: Unit

month

Full Usage: month

Returns: Unit

Create a Time unit month with unit value = 1

Returns: Unit

nDay n

Full Usage: nDay n

Parameters:
Returns: Unit

Create a Time unit day with unit value = n

n : BigRational
Returns: Unit

nHour n

Full Usage: nHour n

Parameters:
Returns: Unit

Create a Time unit hour with unit value = n

n : BigRational
Returns: Unit

nMinute n

Full Usage: nMinute n

Parameters:
Returns: Unit

Create a Time unit minute with unit value = n

n : BigRational
Returns: Unit

nMonth n

Full Usage: nMonth n

Parameters:
Returns: Unit

Create a Time unit month with unit value = n

n : BigRational
Returns: Unit

nSecond n

Full Usage: nSecond n

Parameters:
Returns: Unit

Create a Time unit second with unit value = n

n : BigRational
Returns: Unit

nWeek n

Full Usage: nWeek n

Parameters:
Returns: Unit

Create a Time unit week with unit value = n

n : BigRational
Returns: Unit

nYear n

Full Usage: nYear n

Parameters:
Returns: Unit

Create a Time unit year with unit value = n

n : BigRational
Returns: Unit

second

Full Usage: second

Returns: Unit

Create a Time unit second with unit value = 1

Returns: Unit

toTime Item

Full Usage: toTime Item

Parameters:
Returns: Unit

Create a Time unit

Item : TimeUnit
Returns: Unit

week

Full Usage: week

Returns: Unit

Create a Time unit week with unit value = 1

Returns: Unit

year

Full Usage: year

Returns: Unit

Create a Time unit year with unit value = 1

Returns: Unit

Type something to start searching.