Leadtools.ColorConversion Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.5.7
IccDateTime Constructor
See Also 
Leadtools.ColorConversion Namespace > IccDateTime Structure : IccDateTime Constructor




year
Number of the year (actual year, e.g. 1994).
month
Number of the month (1-12).
day
Number of the day of the month (1-31).
hours
Number of hours (0-23).
minutes
Number of minutes (0-59).
seconds
Number of seconds (0-59).
Initializes a new IccDateTime with explicit parameters.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal year As UShort, _
   ByVal month As UShort, _
   ByVal day As UShort, _
   ByVal hours As UShort, _
   ByVal minutes As UShort, _
   ByVal seconds As UShort _
)
Visual Basic (Usage)Copy Code
Dim year As UShort
Dim month As UShort
Dim day As UShort
Dim hours As UShort
Dim minutes As UShort
Dim seconds As UShort
 
Dim instance As IccDateTime(year, month, day, hours, minutes, seconds)
C# 
public IccDateTime( 
   ushort year,
   ushort month,
   ushort day,
   ushort hours,
   ushort minutes,
   ushort seconds
)
Managed Extensions for C++ 
public: IccDateTime( 
   ushort year,
   ushort month,
   ushort day,
   ushort hours,
   ushort minutes,
   ushort seconds
)
C++/CLI 
public:
IccDateTime( 
   ushort year,
   ushort month,
   ushort day,
   ushort hours,
   ushort minutes,
   ushort seconds
)

Parameters

year
Number of the year (actual year, e.g. 1994).
month
Number of the month (1-12).
day
Number of the day of the month (1-31).
hours
Number of hours (0-23).
minutes
Number of minutes (0-59).
seconds
Number of seconds (0-59).

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also