DB2TimeStamp.DB2TimeStamp(int year, int month, int day, int hour, int minute, int second, int microsecond, int64 picosecond) Constructor
Initializes a new DB2TimeStamp structure with the specified integer values.
- Namespace:
IBM.Data.DB2Types
- Assembly:
IBM.Data.DB2
(inIBM.Data.DB2.dll
)
Syntax
[Visual Basic]
Public Sub New(year as Integer, month as Integer, _
day as Integer, hour as Integer, _
minute as Integer, second as Integer, _
microsecond as Integer, picosecond as Int64 _
)
[C#]
public DB2TimeStamp(int year, int month,
int day, int hour,
int minute, int second,
int microsecond, int64 picosecond
);
[C++]
public: DB2TimeStamp(int year,int month,
int day, int hour,
int minute, int second,
int microsecond, int64 picosecond
);
[JScript]
public function DB2TimeStamp(year : int, month : int,
year : int, month : int,
day : int, hour : int,
minute : int, second : int,
microsecond : int, picosecond : int64
);
Parameters
- year
- An integer value to provide the year for the DB2TimeStamp instance.
- month
- An integer value to provide the month for the DB2TimeStamp instance.
- day
- An integer value to provide the day for the DB2TimeStamp instance.
- hour
- An integer value to provide the hour for the DB2TimeStamp instance.
- minute
- An integer value to provide the minute for the DB2TimeStamp instance.
- second
- An integer value to provide the second for the DB2TimeStamp instance.
- microsecond
- An integer value to provide the microsecond for the DB2TimeStamp instance.
- picosecond
- A 64-bit integer value to provide the picosecond for the DB2TimeStamp instance.