public static LocalDateTimeValue LocalDateTime(DateValue date, LocalTimeValue time) { return(new LocalDateTimeValue(new DateTime(date.Temporal(), time.Temporal()))); }
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: //ORIGINAL LINE: public void writeLocalTime(java.time.LocalTime localTime) throws RuntimeException public override void WriteLocalTime(LocalTime localTime) { Buffer.Add(LocalTimeValue.LocalTime(localTime)); }
public static DateTimeValue Datetime(DateValue date, LocalTimeValue time, ZoneId zone) { return(new DateTimeValue(ZonedDateTime.of(date.Temporal(), time.Temporal(), zone))); }