org.example.azapi
Interface AzDataDateTime


public interface AzDataDateTime

Helper interface to collect the parameters necessary to create the XACML #date, #time, #dateTime DataTypes.
Note: this interface is intended to replace the bare Date currently used in the above XACML DataTypes, but has not yet been integrated.

Author:
rlevinson

Method Summary
 int getActualTimeZone()
          Get the actual time zone offset in minutes
 java.util.Date getDate()
          Get the Date as is set in this object.
 int getIntendedTimeZone()
          Get the intended time zone
 int getNanoSecondOffset()
          Get nanosecond offset
 void setActualTimeZone(int timeZoneMinutes)
          Set the actual time zone that was used for the creation of the Date object as the offset to GMT in minutes.
 void setDate(java.util.Date date)
          Set the Date.
 void setIntendedTimeZone(int timeZoneMinutes)
          Set the intended or expected time zone based on location where Date object was set.
 void setNanoSecondOffset(int nanoSeconds)
          Set nanosecond offset
 

Method Detail

setDate

void setDate(java.util.Date date)
Set the Date. If not provided, then current date and time will be used and other parameters ignored.

Parameters:
date -

getDate

java.util.Date getDate()
Get the Date as is set in this object.


setActualTimeZone

void setActualTimeZone(int timeZoneMinutes)
Set the actual time zone that was used for the creation of the Date object as the offset to GMT in minutes.


getActualTimeZone

int getActualTimeZone()
Get the actual time zone offset in minutes


setIntendedTimeZone

void setIntendedTimeZone(int timeZoneMinutes)
Set the intended or expected time zone based on location where Date object was set.


getIntendedTimeZone

int getIntendedTimeZone()
Get the intended time zone


setNanoSecondOffset

void setNanoSecondOffset(int nanoSeconds)
Set nanosecond offset


getNanoSecondOffset

int getNanoSecondOffset()
Get nanosecond offset