Esempio n. 1
0
        public static DateTimeValue Datetime(DateValue date, TimeValue time)
        {
            OffsetTime t = time.Temporal();

            return(new DateTimeValue(ZonedDateTime.of(date.Temporal(), t.toLocalTime(), t.Offset)));
        }
Esempio n. 2
0
 public static LocalDateTimeValue LocalDateTime(DateValue date, LocalTimeValue time)
 {
     return(new LocalDateTimeValue(new DateTime(date.Temporal(), time.Temporal())));
 }
Esempio n. 3
0
 public static DateTimeValue Datetime(DateValue date, LocalTimeValue time, ZoneId zone)
 {
     return(new DateTimeValue(ZonedDateTime.of(date.Temporal(), time.Temporal(), zone)));
 }