RpgTypeExtensions class | QSYS API Reference Guide

Provides extension methods for RPG types, including methods for moving and manipulating fixed-length strings and decimal numbers.

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

Inheritance: Object

Methods

Signature Description
MoveL<TDig, TDec, TLen>(FixedString<TLen>, FixedDecimal<TDig, TDec>, Boolean) MoveL extension.
MoveR<TDig, TDec, TLen>(FixedString<TLen>, FixedDecimal<TDig, TDec>, Boolean) MoveR extension.
RemoveDate(DateTime) RemoveDate extension.
RemoveTime(DateTime) RemoveTime extension.

decimal MoveL<TDig, TDec, TLen>(FixedString<TLen> s, FixedDecimal<TDig, TDec> decNum, bool pad)

MoveL extension.

decimal MoveL<TDig, TDec, TLen>(FixedString<TLen> s, FixedDecimal<TDig, TDec> decNum, bool pad)

decimal MoveR<TDig, TDec, TLen>(FixedString<TLen> s, FixedDecimal<TDig, TDec> decNum, bool pad)

MoveR extension.

decimal MoveR<TDig, TDec, TLen>(FixedString<TLen> s, FixedDecimal<TDig, TDec> decNum, bool pad)

DateTime RemoveDate(DateTime from)

RemoveDate extension.

DateTime RemoveDate(DateTime from)

Parameters

Type Parameter name Description
DateTime from RemoveDate from param.

Returns

Type Description
DateTime DateTime result.

DateTime RemoveTime(DateTime from)

RemoveTime extension.

DateTime RemoveTime(DateTime from)

Parameters

Type Parameter name Description
DateTime from RemoveTime from param.

Returns

Type Description
DateTime DateTime result.