~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/temporal.h

  • Committer: Monty Taylor
  • Date: 2010-12-27 19:41:48 UTC
  • mfrom: (2035 staging)
  • mto: This revision was merged to the branch mainline in revision 2038.
  • Revision ID: mordred@inaugust.com-20101227194148-nqd86au4o76pdltw
Merged trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
72
72
#include <ostream>
73
73
 
74
74
/* Outside forward declarations */
75
 
class my_decimal;
 
75
namespace type {
 
76
class Decimal;
 
77
}
76
78
 
77
79
namespace drizzled
78
80
{
433
435
  virtual bool from_time_t(const time_t from);
434
436
 
435
437
  /**
436
 
   * Fills a supplied my_decimal with a representation of
 
438
   * Fills a supplied type::Decimal with a representation of
437
439
   * the Date value.
438
440
   *
439
 
   * @param Pointer to the my_decimal to fill
 
441
   * @param Pointer to the type::Decimal to fill
440
442
   */
441
 
  virtual void to_decimal(my_decimal *to) const;
 
443
  virtual void to_decimal(type::Decimal *to) const;
442
444
 
443
445
  friend class TemporalInterval;
444
446
  friend class Timestamp;
568
570
  bool from_time_t(const time_t from);
569
571
 
570
572
  /**
571
 
   * Fills a supplied my_decimal with a representation of
 
573
   * Fills a supplied type::Decimal with a representation of
572
574
   * the Time value.
573
575
   *
574
 
   * @param Pointer to the my_decimal to fill
 
576
   * @param Pointer to the type::Decimal to fill
575
577
   */
576
 
  void to_decimal(my_decimal *to) const;
 
578
  void to_decimal(type::Decimal *to) const;
577
579
 
578
580
  friend class Date;
579
581
  friend class DateTime;
682
684
  void to_tm(struct tm *to) const;
683
685
 
684
686
  /**
685
 
   * Fills a supplied my_decimal with a representation of
 
687
   * Fills a supplied type::Decimal with a representation of
686
688
   * the DateTime value.
687
689
   *
688
 
   * @param Pointer to the my_decimal to fill
 
690
   * @param Pointer to the type::Decimal to fill
689
691
   */
690
 
  void to_decimal(my_decimal *to) const;
 
692
  void to_decimal(type::Decimal *to) const;
691
693
 
692
694
  friend class Timestamp;
693
695
};