This project has retired. For details please refer to its
        
        Attic page .
      
XSTimePointable (VXQuery Core 0.6 API) 
JavaScript is disabled on your browser.
 
JavaScript is disabled on your browser.
 
 
  
 
 
java.lang.Object 
org.apache.hyracks.data.std.api.AbstractPointable 
org.apache.vxquery.datamodel.accessors.atomic.XSTimePointable 
 
 
 
 
 
All Implemented Interfaces: 
org.apache.hyracks.data.std.api.IPointable, org.apache.hyracks.data.std.api.IValueReference, ITime ITimezone  
public class XSTimePointable 
extends org.apache.hyracks.data.std.api.AbstractPointable
implements ITime , ITimezone  
The time is split up into five sections. Due to leap year, we have decided to keep the
 storage simple by saving each date section separately. For calculations you can access
 DayTime (milliseconds) values.
Author: prestoncarman 
 
 
 
 
 
Field Summary 
 
Fields inherited from class org.apache.hyracks.data.std.api.AbstractPointable 
bytes, length, start 
 
 
Method Summary 
All Methods   Static Methods   Instance Methods   Concrete Methods   
Modifier and Type 
Method 
Description 
 
longgetDayTime   
 
static longgetDayTime   
 
longgetHour   
 
static longgetHour   
 
longgetMilliSecond   
 
static longgetMilliSecond   
 
longgetMinute   
 
static longgetMinute   
 
longgetTimezone   
 
static longgetTimezone   
 
longgetTimezoneHour   
 
static longgetTimezoneHour   
 
longgetTimezoneMinute   
 
static longgetTimezoneMinute   
 
longgetYearMonth   
 
static longgetYearMonth   
 
static voidsetTime   
 
voidsetTime   
 
 
Methods inherited from class org.apache.hyracks.data.std.api.AbstractPointable 
getByteArray, getLength, getStartOffset, set, set 
 
Methods inherited from class java.lang.Object  
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait  
 
 
 
 
 
Constructor Detail 
 
XSTimePointable 
public XSTimePointable() 
 
 
 
 
Method Detail 
 
setTime 
public void setTime(long hour,
                    long minute,
                    long second,
                    long timezoneHour,
                    long timezoneMinute) 
 
 
 
setTime 
public static void setTime(byte[] bytes,
                           int start,
                           long hour,
                           long minute,
                           long second,
                           long timezoneHour,
                           long timezoneMinute) 
 
 
 
getHour 
public long getHour() 
Specified by: getHour ITime  
 
 
 
 
getMinute 
public long getMinute() 
Specified by: getMinute ITime  
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
JavaScript is disabled on your browser.
 
 
  
Copyright © 2019 Apache Software Foundation . All Rights Reserved.