~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/temporal.h

  • Committer: Henrik Ingo
  • Date: 2011-09-21 20:52:28 UTC
  • mto: This revision was merged to the branch mainline in revision 2439.
  • Revision ID: henrik.ingo@avoinelama.fi-20110921205228-56l0x31iedgnmolp
Arguments that are of type DATETIME are now created as JavaScript
Date objects. Needed to export the Temporal family of classes
to be able to compute unix timestamp value with set_epoch_seconds().

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
/**
77
77
 * Base class for all temporal data classes.
78
78
 */
79
 
class Temporal
 
79
class DRIZZLED_API Temporal
80
80
{
81
81
protected:
82
82
  enum calendar _calendar;
188
188
 * Class representing temporal components in a valid
189
189
 * SQL date range, with no time component
190
190
 */
191
 
class Date: public Temporal
 
191
class DRIZZLED_API Date: public Temporal
192
192
{
193
193
public:
194
194
  Date() :Temporal() {}
435
435
 * Class representing temporal components having only
436
436
 * a time component, with no date structure
437
437
 */
438
 
class Time: public Temporal
 
438
class DRIZZLED_API Time: public Temporal
439
439
{
440
440
public:
441
441
  Time() :Temporal() {}
567
567
 * Class representing temporal components in a valid
568
568
 * SQL datetime range, including a time component
569
569
 */
570
 
class DateTime: public Date
 
570
class DRIZZLED_API DateTime: public Date
571
571
{
572
572
public:
573
573
  DateTime() :Date() {}
680
680
/**
681
681
 * Class representing temporal components in the UNIX epoch
682
682
 */
683
 
class Timestamp: public DateTime
 
683
class DRIZZLED_API Timestamp: public DateTime
684
684
{
685
685
public:
686
686
  Timestamp() :DateTime() {}
746
746
 * Class representing temporal components in the UNIX epoch
747
747
 * with an additional microsecond component.
748
748
 */
749
 
class MicroTimestamp: public Timestamp
 
749
class DRIZZLED_API MicroTimestamp: public Timestamp
750
750
{
751
751
public:
752
752
  MicroTimestamp() :Timestamp() {}
789
789
 * Class representing temporal components in the UNIX epoch
790
790
 * with an additional nanosecond component.
791
791
 */
792
 
class NanoTimestamp: public Timestamp
 
792
class DRIZZLED_API NanoTimestamp: public Timestamp
793
793
{
794
794
public:
795
795
  NanoTimestamp() :Timestamp() {}