~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/temporal.h

  • Committer: Brian Aker
  • Date: 2009-02-18 19:27:32 UTC
  • mfrom: (873.1.17 temporal-new)
  • Revision ID: brian@tangent.org-20090218192732-ype4iscybtftjk2y
Merge Jay

Show diffs side-by-side

added added

removed removed

Lines of Context:
199
199
class Date: public Temporal 
200
200
{
201
201
public:
 
202
  Date() :Temporal() {}
202
203
  /**
203
204
   * Comparison operator overloads to compare a Date against
204
205
   * another Date value.
379
380
class Time: public Temporal
380
381
{
381
382
public:
382
 
 
 
383
  Time() :Temporal() {}
383
384
  /* Maximum number of seconds in 23:59:59 (24 * 60 * 60) */
384
385
  const static uint32_t MAX_CUMULATIVE_SECONDS= 86400L;
385
386
 
489
490
class DateTime: public Date
490
491
{
491
492
public:
 
493
  DateTime() :Date() {}
492
494
  /**
493
495
   * Comparison operator overloads to compare a DateTime against
494
496
   * another DateTime value.
629
631
class Timestamp: public DateTime 
630
632
{
631
633
public:
 
634
  Timestamp() :DateTime() {}
632
635
  /**
633
636
   * Comparison operator overloads to compare a Timestamp against
634
637
   * another Timestamp value.
662
665
class MicroTimestamp: public Timestamp
663
666
{
664
667
public:
 
668
  MicroTimestamp() :Timestamp() {}
665
669
  /** Returns whether the temporal value is valid micro-timestamp. */
666
670
  bool is_valid() const;
667
671
 
695
699
class NanoTimestamp: public Timestamp
696
700
{
697
701
public:
 
702
  NanoTimestamp() :Timestamp() {}
698
703
  /** Returns whether the temporal value is valid nano-timestamp. */
699
704
  bool is_valid() const;
700
705