FixedTimeMethods class | QSYS API Reference Guide

Estimated reading time: 4 minutes

Contains extension methods for handling RPG operations for FixedTime values.

Namespace: ASNA.QSys.Runtime Assembly: ASNA.QSys.Runtime.dll

Inheritance: Object

Methods

Signature Description
AddDuration<TFormat, TSeparator>(FixedTime<TFormat, TSeparator>, Double, DurationCode) Adds a duration span to a FixedTime value.
AddDurationToTime<TFormat, TSeparator>(FixedTime<TFormat, TSeparator>, Double, DurationCode) Adds a duration span to a FixedTime value.
MoveLeftToChar<TFormat, TSeparator>(FixedTime<TFormat, TSeparator>) RPG’s MOVEL. Moves left a FixedTime in the given format to a char value.
MoveRightToChar<TFormat, TSeparator>(FixedTime<TFormat, TSeparator>) RPG’s MOVE. Moves right a FixedTime in the given format to a char value.
SubtractDuration<TFormat, TSeparator>(FixedTime<TFormat, TSeparator>, Double, DurationCode) Subtracts a duration span from a FixedTime or a timestamp value.
SubtractDurationFromTime<TFormat, TSeparator>(FixedTime<TFormat, TSeparator>, Double, DurationCode) Subtracts a duration span from a FixedTime value.
ToDouble<TFormat, TSeparator>(FixedTime<TFormat, TSeparator>, Boolean) Converts a FixedTime value to double.
ToFixedDecimal<TFormat, TSeparator>(FixedTime<TFormat, TSeparator>, Int32, Int32) Converts a FixedTime value, converts it to a decimal.
ToFloat<TFormat, TSeparator>(FixedTime<TFormat, TSeparator>, Boolean) Converts a FixedTime value to float.
ToInt16<TFormat, TSeparator>(FixedTime<TFormat, TSeparator>, Boolean) Converts a FixedTime value to int 16.
ToInt32<TFormat, TSeparator>(FixedTime<TFormat, TSeparator>, Boolean) Converts a FixedTime value to int 32.
ToInt64<TFormat, TSeparator>(FixedTime<TFormat, TSeparator>, Boolean) Converts a FixedTime value to int 64.

DateTime AddDuration<TFormat, TSeparator>(FixedTime<TFormat, TSeparator> time, double duration, DurationCode durationCode)

Adds a duration span to a FixedTime value.

DateTime AddDuration<TFormat, TSeparator>(FixedTime<TFormat, TSeparator> time, double duration, DurationCode durationCode)

DateTime AddDurationToTime<TFormat, TSeparator>(FixedTime<TFormat, TSeparator> time, double duration, DurationCode durationCode)

Adds a duration span to a FixedTime value.

DateTime AddDurationToTime<TFormat, TSeparator>(FixedTime<TFormat, TSeparator> time, double duration, DurationCode durationCode)

char MoveLeftToChar<TFormat, TSeparator>(FixedTime<TFormat, TSeparator> time)

RPG’s MOVEL. Moves left a FixedTime in the given format to a char value.

char MoveLeftToChar<TFormat, TSeparator>(FixedTime<TFormat, TSeparator> time)

char MoveRightToChar<TFormat, TSeparator>(FixedTime<TFormat, TSeparator> time)

RPG’s MOVE. Moves right a FixedTime in the given format to a char value.

char MoveRightToChar<TFormat, TSeparator>(FixedTime<TFormat, TSeparator> time)

DateTime SubtractDuration<TFormat, TSeparator>(FixedTime<TFormat, TSeparator> time, double duration, DurationCode durationCode)

Subtracts a duration span from a FixedTime or a timestamp value.

DateTime SubtractDuration<TFormat, TSeparator>(FixedTime<TFormat, TSeparator> time, double duration, DurationCode durationCode)

DateTime SubtractDurationFromTime<TFormat, TSeparator>(FixedTime<TFormat, TSeparator> time, double duration, DurationCode durationCode)

Subtracts a duration span from a FixedTime value.

DateTime SubtractDurationFromTime<TFormat, TSeparator>(FixedTime<TFormat, TSeparator> time, double duration, DurationCode durationCode)

double ToDouble<TFormat, TSeparator>(FixedTime<TFormat, TSeparator> time, bool throwOnOverflow)

Converts a FixedTime value to double.

double ToDouble<TFormat, TSeparator>(FixedTime<TFormat, TSeparator> time, bool throwOnOverflow)

decimal ToFixedDecimal<TFormat, TSeparator>(FixedTime<TFormat, TSeparator> time, int digits, int decimals)

Converts a FixedTime value, converts it to a decimal.

decimal ToFixedDecimal<TFormat, TSeparator>(FixedTime<TFormat, TSeparator> time, int digits, int decimals)

float ToFloat<TFormat, TSeparator>(FixedTime<TFormat, TSeparator> time, bool throwOnOverflow)

Converts a FixedTime value to float.

float ToFloat<TFormat, TSeparator>(FixedTime<TFormat, TSeparator> time, bool throwOnOverflow)

short ToInt16<TFormat, TSeparator>(FixedTime<TFormat, TSeparator> time, bool throwOnOverflow)

Converts a FixedTime value to int 16.

short ToInt16<TFormat, TSeparator>(FixedTime<TFormat, TSeparator> time, bool throwOnOverflow)

int ToInt32<TFormat, TSeparator>(FixedTime<TFormat, TSeparator> time, bool throwOnOverflow)

Converts a FixedTime value to int 32.

int ToInt32<TFormat, TSeparator>(FixedTime<TFormat, TSeparator> time, bool throwOnOverflow)

long ToInt64<TFormat, TSeparator>(FixedTime<TFormat, TSeparator> time, bool throwOnOverflow)

Converts a FixedTime value to int 64.

long ToInt64<TFormat, TSeparator>(FixedTime<TFormat, TSeparator> time, bool throwOnOverflow)