33#define IEDLTimeID 0x88d388a7, 0xcd6146bf, 0xa29e9830, 0x722cf8b9
123 %apply uint16_t &OUTPUT {
uint16 &hour };
124 %apply uint16_t &OUTPUT {
uint16 &min };
125 %apply uint16_t &OUTPUT {
uint16 &sec };
126 %apply uint16_t &OUTPUT {
uint16 &ms };
127 %apply int16_t &OUTPUT {
int16 &tzd_sign };
128 %apply uint16_t &OUTPUT {
uint16 &tzd_hour };
129 %apply uint16_t &OUTPUT {
uint16 &tzd_min };
147 %clear
int16 &tzd_sign;
185 virtual bool isEqualTo(
const IEDLTimePtr &ptrTime)
const = 0;
212#define edlobj2IEDLTime(src) edl_cast((IEDLTime *)NULL, src)
EDL Object Interface.
Definition iedlobject.h:31
EDL Factory Interface allows one part of the EDL infrastructure to register class creation methods id...
Definition iedlfactory.h:31
IEDLObject is an abstract base class that is used by all classes that are intended to be created via ...
Definition iedlobject.h:53
uint16 year
Definition edltime.h:58
Data()
Definition edltime.h:54
uint16 day
Definition edltime.h:60
uint16 tzd_hour
Definition edltime.h:66
uint16 minute
Definition edltime.h:62
uint16 tzd_min
Definition edltime.h:67
uint16 ms
Definition edltime.h:64
uint16 hour
Definition edltime.h:61
uint16 second
Definition edltime.h:63
uint16 month
Definition edltime.h:59
int16 tzd_sign
Definition edltime.h:65
Interface to EDL date-time class.
Definition edltime.h:32
virtual bool setDay(uint16 day)=0
Sets the day.
virtual bool isEqualTo(const IEDLTimePtr &ptrTime) const =0
Check this IEDLTime for equality to another IEDLTime.
DECLARE_CLASS_ID(IEDLTimeID)
virtual uint16 getDay() const =0
Retrieves the day value.
virtual void toLocalTime()=0
Convert to local date/time.
virtual bool fromPDFDate(const EDLSysString &strTime)=0
Fill IEDLTime value from string with PDF date format.
virtual void now()=0
Sets date/time to the current system date and time.
virtual uint16 getYear() const =0
Retrieves the year value.
virtual EDLSysString toW3CDTF() const =0
Convert IEDLTime to string with W3CDTF format.
virtual EDLSysString toPDFDate(bool fullDate=false) const =0
Convert IEDLTime to string with PDF date format.
static EDL_API IEDLTimePtr createNow(IEDLClassFactory *pFactory)
Simplified creator to create the time as of now.
virtual void toUTC()=0
Convert UTC date/time.
virtual uint16 getMonth() const =0
Retrieves the month value.
virtual int32 compare(const IEDLTimePtr &ptrTime) const =0
Compare this time against ptrTime.
virtual bool fromW3CDTF(const EDLSysString &strTime)=0
Fill IEDLTime value from string with W3CDTF format.
virtual void getTime(uint16 &hour, uint16 &min, uint16 &sec, uint16 &ms, int16 &tzd_sign, uint16 &tzd_hour, uint16 &tzd_min) const =0
Retrieves the time.
virtual bool setMonth(uint16 month)=0
Sets the month.
virtual bool setYear(uint16 year)=0
Sets the year.
virtual bool setTime(uint16 hour=0, uint16 min=0, uint16 sec=0, uint16 ms=0, int16 tzd_sign=1, uint16 tzd_hour=0, uint16 tzd_min=0)=0
Sets the time.
Simple interface to provide a consistent hashing method for Mako objects.
Definition hashable.h:25
#define _BEGIN_EDL_NAMESPACE
Definition edlnamespaces.h:75
#define _END_EDL_NAMESPACE
Definition edlnamespaces.h:76
EDLString and EDLSysString classes and associated EDL string manipulation functions.
std::string EDLSysString
Definition edlstring.h:158
#define IEDLTimeID
Definition edltime.h:33
EDL "standard" types including known bit-length signed and unsigned integer type[def]s and definition...
unsigned short uint16
Definition edltypes.h:33
#define EDL_API
Definition edltypes.h:86
signed short int16
Definition edltypes.h:28
signed int int32
Definition edltypes.h:29
An abstract interface for an object that can be hashed.
#define DECL_SMART_PTR(cls)
Definition smartptr.h:211