Пример #1
0
 public static LocalDateTimeValue LocalDateTime(DateValue date, LocalTimeValue time)
 {
     return(new LocalDateTimeValue(new DateTime(date.Temporal(), time.Temporal())));
 }
Пример #2
0
 public static DateTimeValue Datetime(DateValue date, LocalTimeValue time, ZoneId zone)
 {
     return(new DateTimeValue(ZonedDateTime.of(date.Temporal(), time.Temporal(), zone)));
 }