~drizzle-developers/drizzle/elliott-release

« back to all changes in this revision

Viewing changes to unittests/temporal_generator.cc

  • Committer: patrick crews
  • Date: 2011-01-04 12:54:59 UTC
  • mfrom: (1845.2.208 drizzle)
  • Revision ID: gleebix@gmail.com-20110104125459-0pba1ry64d9imj13
Merged Trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
157
157
                                                                  int32_t nsecond_part_index)
158
158
{
159
159
  drizzled::TemporalFormat *temporal_format= new drizzled::TemporalFormat(regexp);
160
 
  
 
160
 
161
161
  temporal_format->set_year_part_index(year_part_index);
162
162
  temporal_format->set_month_part_index(month_part_index);
163
163
  temporal_format->set_day_part_index(day_part_index);
171
171
}
172
172
 
173
173
drizzled::TemporalInterval *TemporalGenerator::TemporalIntervalGen::make_temporal_interval(
174
 
                                                              uint32_t  year,
175
 
                                                              uint32_t  month,
176
 
                                                              uint32_t  day,
177
 
                                                              uint32_t  hour,
178
 
                                                              uint64_t  minute,
179
 
                                                              uint64_t  second,
180
 
                                                              uint64_t  second_part,
181
 
                                                              bool neg)
 
174
                                                                                           uint32_t  year,
 
175
                                                                                           uint32_t  month,
 
176
                                                                                           uint32_t  day,
 
177
                                                                                           uint32_t  hour,
 
178
                                                                                           uint64_t  minute,
 
179
                                                                                           uint64_t  second,
 
180
                                                                                           uint64_t  second_part,
 
181
                                                                                           bool neg)
182
182
{
183
183
  drizzled::TemporalInterval *interval= new drizzled::TemporalInterval();
184
184