类 ZonedDateTimeValueFactory

  • 所有已实现的接口:
    ValueFactory<java.time.ZonedDateTime>

    public class ZonedDateTimeValueFactory
    extends AbstractDateTimeValueFactory<java.time.ZonedDateTime>
    Value factory to create ZonedDateTime instances.
    • 构造器详细资料

      • ZonedDateTimeValueFactory

        public ZonedDateTimeValueFactory​(PropertySet pset,
                                         TimeZone defaultTimeZone,
                                         TimeZone connectionTimeZone)
    • 方法详细资料

      • localCreateFromDate

        public java.time.ZonedDateTime localCreateFromDate​(InternalDate idate)
        Create an ZonedDateTime from a DATE value.
        返回:
        an ZonedDateTime at midnight on the day given by the DATE value
      • localCreateFromTime

        public java.time.ZonedDateTime localCreateFromTime​(InternalTime it)
        Create an ZonedDateTime from a TIME value.
        返回:
        an ZonedDateTime at the given time on 1970 Jan 1.
      • localCreateFromTimestamp

        public java.time.ZonedDateTime localCreateFromTimestamp​(InternalTimestamp its)
      • localCreateFromDatetime

        public java.time.ZonedDateTime localCreateFromDatetime​(InternalTimestamp its)
      • getTargetTypeName

        public String getTargetTypeName()
        从接口复制的说明: ValueFactory
        Get the actual class name of T parameter.
        返回:
        class name