Interval

Postgres Interval is date and time based such as 120 years 3 months 332 days 20 hours 20 minutes 20.999999 seconds

@author <a href="mailto:emad.albloushi@gmail.com">Emad Alblueshi</a>

Constructors

this
this()
Undocumented in source.
this
this(int years, int months, int days, int hours, int minutes, int seconds, int microseconds)
Undocumented in source.
this
this(int years, int months, int days, int hours, int minutes, int seconds)
Undocumented in source.
this
this(int years, int months, int days, int hours, int minutes)
Undocumented in source.
this
this(int years, int months, int days, int hours)
Undocumented in source.
this
this(int years, int months, int days)
Undocumented in source.
this
this(int years, int months)
Undocumented in source.
this
this(int years)
Undocumented in source.

Members

Functions

days
Interval days(int days)
Undocumented in source. Be warned that the author may not have intended to support it.
getDays
int getDays()
Undocumented in source. Be warned that the author may not have intended to support it.
getHours
int getHours()
Undocumented in source. Be warned that the author may not have intended to support it.
getMicroseconds
int getMicroseconds()
Undocumented in source. Be warned that the author may not have intended to support it.
getMinutes
int getMinutes()
Undocumented in source. Be warned that the author may not have intended to support it.
getMonths
int getMonths()
Undocumented in source. Be warned that the author may not have intended to support it.
getSeconds
int getSeconds()
Undocumented in source. Be warned that the author may not have intended to support it.
getYears
int getYears()
Undocumented in source. Be warned that the author may not have intended to support it.
hours
Interval hours(int hours)
Undocumented in source. Be warned that the author may not have intended to support it.
microseconds
Interval microseconds(int microseconds)
Undocumented in source. Be warned that the author may not have intended to support it.
minutes
Interval minutes(int minutes)
Undocumented in source. Be warned that the author may not have intended to support it.
months
Interval months(int months)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(Object o)
Undocumented in source. Be warned that the author may not have intended to support it.
seconds
Interval seconds(int seconds)
Undocumented in source. Be warned that the author may not have intended to support it.
setDays
void setDays(int days)
Undocumented in source. Be warned that the author may not have intended to support it.
setHours
void setHours(int hours)
Undocumented in source. Be warned that the author may not have intended to support it.
setMicroseconds
void setMicroseconds(int microseconds)
Undocumented in source. Be warned that the author may not have intended to support it.
setMinutes
void setMinutes(int minutes)
Undocumented in source. Be warned that the author may not have intended to support it.
setMonths
void setMonths(int months)
Undocumented in source. Be warned that the author may not have intended to support it.
setSeconds
void setSeconds(int seconds)
Undocumented in source. Be warned that the author may not have intended to support it.
setYears
void setYears(int years)
Undocumented in source. Be warned that the author may not have intended to support it.
toHash
size_t toHash()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.
years
Interval years(int years)
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

of
Interval of()
Undocumented in source. Be warned that the author may not have intended to support it.
of
Interval of(int years, int months, int days, int hours, int minutes, int seconds, int microseconds)
Undocumented in source. Be warned that the author may not have intended to support it.
of
Interval of(int years, int months, int days, int hours, int minutes, int seconds)
Undocumented in source. Be warned that the author may not have intended to support it.
of
Interval of(int years, int months, int days, int hours, int minutes)
Undocumented in source. Be warned that the author may not have intended to support it.
of
Interval of(int years, int months, int days, int hours)
Undocumented in source. Be warned that the author may not have intended to support it.
of
Interval of(int years, int months, int days)
Undocumented in source. Be warned that the author may not have intended to support it.
of
Interval of(int years, int months)
Undocumented in source. Be warned that the author may not have intended to support it.
of
Interval of(int years)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta