예제 #1
0
 public static LocalDateTimeValue LocalDateTime(DateValue date, LocalTimeValue time)
 {
     return(new LocalDateTimeValue(new DateTime(date.Temporal(), time.Temporal())));
 }
예제 #2
0
//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));
        }
예제 #3
0
 public static DateTimeValue Datetime(DateValue date, LocalTimeValue time, ZoneId zone)
 {
     return(new DateTimeValue(ZonedDateTime.of(date.Temporal(), time.Temporal(), zone)));
 }