Liquid XML Data Binder 2019
LxDuration Constructor(UInt16,UInt32,UInt32,UInt32,UInt64,UInt64,UInt16,UInt16,UInt16,Boolean)

LiquidTechnologies.XmlObjects Namespace > LxDuration Structure > LxDuration Constructor : LxDuration Constructor(UInt16,UInt32,UInt32,UInt32,UInt64,UInt64,UInt16,UInt16,UInt16,Boolean)
The number of years
The number of months
The number of days
The number of hours
The number of minutes
The number of seconds
The number of milliseconds
The number of microseconds
The number of nanoseconds
Indicates duration is positive or negative
Construct a LxDuration from its component parts
Syntax
'Declaration
 
Public Function New( _
   ByVal years As System.UShort, _
   ByVal months As System.UInteger, _
   ByVal days As System.UInteger, _
   ByVal hours As System.UInteger, _
   ByVal minutes As System.ULong, _
   ByVal seconds As System.ULong, _
   Optional ByVal millis As System.UShort, _
   Optional ByVal micros As System.UShort, _
   Optional ByVal nanos As System.UShort, _
   Optional ByVal isNegative As System.Boolean _
)
public LxDuration( 
   System.ushort years,
   System.uint months,
   System.uint days,
   System.uint hours,
   System.ulong minutes,
   System.ulong seconds,
   System.ushort millis,
   System.ushort micros,
   System.ushort nanos,
   System.bool isNegative
)

Parameters

years
The number of years
months
The number of months
days
The number of days
hours
The number of hours
minutes
The number of minutes
seconds
The number of seconds
millis
The number of milliseconds
micros
The number of microseconds
nanos
The number of nanoseconds
isNegative
Indicates duration is positive or negative
Requirements

Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows Server 2016, Windows Server 2012, Windows Server 2008. Please ensure you have the latest Service Pack for your operating system installed.

See Also

Reference

LxDuration Structure
LxDuration Members
Overload List