org.apache.hyracks.data.std.api.IPointable, org.apache.hyracks.data.std.api.IValueReference, IDate, ITime, ITimezonepublic class XSDateTimePointable extends org.apache.hyracks.data.std.api.AbstractPointable implements IDate, ITime, ITimezone
| Modifier and Type | Field | Description | 
|---|---|---|
| static int | DAY_OFFSET | |
| static org.apache.hyracks.data.std.api.IPointableFactory | FACTORY | |
| static int | HOUR_OFFSET | |
| static int | MILLISECOND_OFFSET | |
| static int | MINUTE_OFFSET | |
| static int | MONTH_OFFSET | |
| static int | TIMEZONE_HOUR_OFFSET | |
| static int | TIMEZONE_MINUTE_OFFSET | |
| static org.apache.hyracks.api.dataflow.value.ITypeTraits | TYPE_TRAITS | |
| static int | YEAR_OFFSET | 
| Constructor | Description | 
|---|---|
| XSDateTimePointable() | 
| Modifier and Type | Method | Description | 
|---|---|---|
| long | getDay() | |
| static long | getDay(byte[] bytes,
      int start) | |
| long | getDayTime() | |
| static long | getDayTime(byte[] bytes,
          int start) | |
| long | getHour() | |
| static long | getHour(byte[] bytes,
       int start) | |
| long | getMilliSecond() | |
| static long | getMilliSecond(byte[] bytes,
              int start) | |
| long | getMinute() | |
| static long | getMinute(byte[] bytes,
         int start) | |
| long | getMonth() | |
| static long | getMonth(byte[] bytes,
        int start) | |
| long | getTimezone() | |
| static long | getTimezone(byte[] bytes,
           int start) | |
| long | getTimezoneHour() | |
| static long | getTimezoneHour(byte[] bytes,
               int start) | |
| long | getTimezoneMinute() | |
| static long | getTimezoneMinute(byte[] bytes,
                 int start) | |
| long | getYear() | |
| static long | getYear(byte[] bytes,
       int start) | |
| long | getYearMonth() | |
| static long | getYearMonth(byte[] bytes,
            int start) | |
| void | setCurrentDateTime() | |
| static void | setDateTime(byte[] bytes,
           int start,
           long year,
           long month,
           long day,
           long hour,
           long minute,
           long milliSecond,
           long timezoneHour,
           long timezoneMinute) | |
| void | setDateTime(long year,
           long month,
           long day,
           long hour,
           long minute,
           long milliSecond,
           long timezoneHour,
           long timezoneMinute) | |
| String | toString() | |
| static String | toString(byte[] bytes,
        int start) | 
public static final int YEAR_OFFSET
public static final int MONTH_OFFSET
public static final int DAY_OFFSET
public static final int HOUR_OFFSET
public static final int MINUTE_OFFSET
public static final int MILLISECOND_OFFSET
public static final int TIMEZONE_HOUR_OFFSET
public static final int TIMEZONE_MINUTE_OFFSET
public static final org.apache.hyracks.api.dataflow.value.ITypeTraits TYPE_TRAITS
public static final org.apache.hyracks.data.std.api.IPointableFactory FACTORY
public void setCurrentDateTime()
public void setDateTime(long year,
                        long month,
                        long day,
                        long hour,
                        long minute,
                        long milliSecond,
                        long timezoneHour,
                        long timezoneMinute)
public static void setDateTime(byte[] bytes,
                               int start,
                               long year,
                               long month,
                               long day,
                               long hour,
                               long minute,
                               long milliSecond,
                               long timezoneHour,
                               long timezoneMinute)
public static long getYear(byte[] bytes,
                           int start)
public static long getMonth(byte[] bytes,
                            int start)
public static long getDay(byte[] bytes,
                          int start)
public static long getHour(byte[] bytes,
                           int start)
public static long getMinute(byte[] bytes,
                             int start)
public long getMilliSecond()
getMilliSecond in interface ITimepublic static long getMilliSecond(byte[] bytes,
                                  int start)
public long getTimezoneHour()
getTimezoneHour in interface ITimezonepublic static long getTimezoneHour(byte[] bytes,
                                   int start)
public long getTimezoneMinute()
getTimezoneMinute in interface ITimezonepublic static long getTimezoneMinute(byte[] bytes,
                                     int start)
public long getTimezone()
getTimezone in interface ITimezonepublic static long getTimezone(byte[] bytes,
                               int start)
public long getYearMonth()
getYearMonth in interface IDategetYearMonth in interface ITimezonepublic static long getYearMonth(byte[] bytes,
                                int start)
public long getDayTime()
getDayTime in interface IDategetDayTime in interface ITimegetDayTime in interface ITimezonepublic static long getDayTime(byte[] bytes,
                              int start)
public static String toString(byte[] bytes, int start)
Copyright © 2019 Apache Software Foundation. All Rights Reserved.