core.libraries.thirdparty.niknaks.modules.sh_timedelta

(no description)

Functions

AddCenturies(n)

View source »
Incomplete

Documentation for this section is incomplete and needs expanding.

Parameters

  • n number

AddDays(n)

View source »
Incomplete

Documentation for this section is incomplete and needs expanding.

Parameters

  • n number

AddDecades(n)

View source »
Incomplete

Documentation for this section is incomplete and needs expanding.

Parameters

  • n number

AddHours(n)

View source »
Incomplete

Documentation for this section is incomplete and needs expanding.

Parameters

  • n number

AddMiliseconds(n)

View source »
Incomplete

Documentation for this section is incomplete and needs expanding.

Parameters

  • n number

AddMinutes(n)

View source »
Incomplete

Documentation for this section is incomplete and needs expanding.

Parameters

  • n number

AddMonths(n)

View source »
Incomplete

Documentation for this section is incomplete and needs expanding.

Parameters

  • n number

AddSeconds(n)

View source »
Incomplete

Documentation for this section is incomplete and needs expanding.

Parameters

  • n number

AddWeeks(n)

View source »
Incomplete

Documentation for this section is incomplete and needs expanding.

Parameters

  • n number

AddYears(n)

View source »
Incomplete

Documentation for this section is incomplete and needs expanding.

Parameters

  • n number

SubCenturies(n)

View source »
Incomplete

Documentation for this section is incomplete and needs expanding.

Parameters

  • n number

SubDays(n)

View source »
Incomplete

Documentation for this section is incomplete and needs expanding.

Parameters

  • n number

SubDecades(n)

View source »
Incomplete

Documentation for this section is incomplete and needs expanding.

Parameters

  • n number

SubHours(n)

View source »
Incomplete

Documentation for this section is incomplete and needs expanding.

Parameters

  • n number

SubMinutes(n)

View source »
Incomplete

Documentation for this section is incomplete and needs expanding.

Parameters

  • n number

SubMonths(n)

View source »
Incomplete

Documentation for this section is incomplete and needs expanding.

Parameters

  • n number

SubSeconds(n)

View source »
Incomplete

Documentation for this section is incomplete and needs expanding.

Parameters

  • n number

SubWeeks(n)

View source »
Incomplete

Documentation for this section is incomplete and needs expanding.

Parameters

  • n number

SubYears(n)

View source »
Incomplete

Documentation for this section is incomplete and needs expanding.

Parameters

  • n number

ToTable()

View source »

Returns the time as a table

Returns

__add(b)

View source »
Incomplete

Documentation for this section is incomplete and needs expanding.

Parameters

  • b TimeDelta or number

Returns

  • TimeDelta or DateTime

__div(b)

View source »
Incomplete

Documentation for this section is incomplete and needs expanding.

Parameters

  • b TimeDelta or number

Returns

  • TimeDelta

__eq(b)

View source »
Incomplete

Documentation for this section is incomplete and needs expanding.

Parameters

  • b TimeDelta

__lt(b)

View source »
Incomplete

Documentation for this section is incomplete and needs expanding.

Parameters

  • b TimeDelta

__mod(b)

View source »
Incomplete

Documentation for this section is incomplete and needs expanding.

Parameters

  • b TimeDelta or number

Returns

  • TimeDelta

__mul(b)

View source »
Incomplete

Documentation for this section is incomplete and needs expanding.

Parameters

  • b TimeDelta or number

Returns

  • TimeDelta

__pow(b)

View source »
Incomplete

Documentation for this section is incomplete and needs expanding.

Parameters

  • b TimeDelta or number

Returns

  • TimeDelta

__sub(b)

View source »
Incomplete

Documentation for this section is incomplete and needs expanding.

Parameters

  • b TimeDelta or number

Returns

  • TimeDelta or DateTime

_adder(key, num)

View source »

Generic adder function to add given time amount to the TimeDelta

Parameters

  • key string

    The name of the time type to add

  • num number

    The amount of time to add

Returns

  • self TimeDelta

_getter(key)

View source »

Generic getter function to get the time amount of the given time type

Parameters

  • key string

    The name of the time type to get

Returns

  • number

_subtractor(key, num)

View source »

Generic subtractor function to subtract given time amount from the TimeDelta

Parameters

  • key string

    The name of the time type to subtract

  • num number

    The amount of time to subtract

Returns

  • self TimeDelta

meta.__le(b)

View source »
Incomplete

Documentation for this section is incomplete and needs expanding.

Parameters

  • b TimeDelta

Fields

n

View source »
Incomplete

Documentation for this section is incomplete and needs expanding.

  • n number

n

View source »
Incomplete

Documentation for this section is incomplete and needs expanding.

  • n number