示例#1
0
 public DateTimeParts(DateParts dateParts, TimeParts timeParts)
 {
     _date = dateParts;
     _time = timeParts;
 }
示例#2
0
 public DateTimeParts(int year, int month, int day, int hour, int minute, int second, int millisecond, DateTimeKind kind, TimeSpan offset)
 {
     _date = new DateParts(year, month, day);
     _time = new TimeParts(hour, minute, second, millisecond, kind, offset);
 }