Timestamp

Represents an instant (a time stamp)

Constructors

this
this(short year, ushort month, ushort day, ushort hour, ushort minute, ushort second, gulong fraction, glong timezone)

Create a timestamp.Timestamp boxed type.

this
this(void* ptr, Flag!"Take" take)

Members

Functions

_cPtr
void* _cPtr(Flag!"Dup" dup)
changeTimezone
void changeTimezone(glong ntz)

This function is similar to gda.time.Time.changeTimezone but operates on time stamps.

self
Timestamp self()

Returns this, for use in with statements.

valid
bool valid()

Properties

_gType
GType _gType [@property getter]
day
ushort day [@property getter]

Get day field.

day
ushort day [@property setter]

Set day field.

fraction
gulong fraction [@property getter]

Get fraction field.

fraction
gulong fraction [@property setter]

Set fraction field.

hour
ushort hour [@property getter]

Get hour field.

hour
ushort hour [@property setter]

Set hour field.

minute
ushort minute [@property getter]

Get minute field.

minute
ushort minute [@property setter]

Set minute field.

month
ushort month [@property getter]

Get month field.

month
ushort month [@property setter]

Set month field.

second
ushort second [@property getter]

Get second field.

second
ushort second [@property setter]

Set second field.

timezone
glong timezone [@property getter]

Get timezone field.

timezone
glong timezone [@property setter]

Set timezone field.

year
short year [@property getter]

Get year field.

year
short year [@property setter]

Set year field.

Static functions

_getGType
GType _getGType()
copy
void* copy(void* boxed)
free
void free(void* boxed)

Inherited Members

From Boxed

cInstancePtr
void* cInstancePtr;

Pointer to the C boxed value

_getGType
GType _getGType()

Get the GType of this boxed type.

_gType
GType _gType [@property getter]

Boxed GType property.

self
Boxed self()

Convenience method to return this cast to a type. For use in D with statements.

copy_
void* copy_()

Make a copy of the wrapped C boxed data.

boxedCopy
void* boxedCopy(void* cBoxed)

Copy a C boxed value using g_boxed_copy.

boxedFree
void boxedFree(void* cBoxed)

Free a C boxed value using g_boxed_free.