~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to unittests/micro_timestamp_test.cc

  • Committer: Stewart Smith
  • Date: 2011-01-14 05:09:04 UTC
  • mto: (2086.1.3 build)
  • mto: This revision was merged to the branch mainline in revision 2087.
  • Revision ID: stewart@flamingspork.com-20110114050904-a98kswwpqnpl413s
add a bit of a note on how variables docs should be expanded

Show diffs side-by-side

added added

removed removed

Lines of Context:
101
101
  uint32_t year= 2009, month= 6, day= 3, hour= 4, minute= 59, second= 1, microsecond= 675;
102
102
  TemporalGenerator::TimestampGen::make_micro_timestamp(&micro_timestamp, year, month, day, hour, minute, second, microsecond);
103
103
 
104
 
  micro_timestamp.to_timeval(&filled);
 
104
  micro_timestamp.to_timeval(filled);
105
105
 
106
106
  EXPECT_EQ(1244005141, filled.tv_sec);
107
107
  EXPECT_EQ(675, filled.tv_usec);