Creates a new
DicomDateTimeValue with the specified values.
public static DicomDateTimeValue Create(
int ,
int ,
int ,
int ,
int ,
int ,
int ,
int
)
'Declaration
Public Overloads Shared Function Create( _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer _
) As DicomDateTimeValue
'Usage
Dim year As Integer
Dim month As Integer
Dim day As Integer
Dim hours As Integer
Dim minutes As Integer
Dim seconds As Integer
Dim fractions As Integer
Dim offset As Integer
Dim value As DicomDateTimeValue
value = DicomDateTimeValueHelper.Create(year, month, day, hours, minutes, seconds, fractions, offset)
function Leadtools.Dicom.DicomDateTimeValueHelper.Create(Int32,Int32,Int32,Int32,Int32,Int32,Int32,Int32)(
year ,
month ,
day ,
hours ,
minutes ,
seconds ,
fractions ,
offset
)
public:
static DicomDateTimeValue Create(
int ,
int ,
int ,
int ,
int ,
int ,
int ,
int
)
Parameters
- year
- Value that represents the year.
- month
- Value that represents the month.
- day
- Value that represents the day.
- hours
- Value that represents the hour.
- minutes
- Value that represents the minute.
- seconds
- Value that represents the second.
- fractions
- Value that represents the fraction of a second.
- offset
- The optional suffix that indicates the offset (plus or minus) from Coordinated Universal Time.
Return Value
A new
DicomDateTimeValue with the specified values.