~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/temporal.cc

  • Committer: Andrew Hutchings
  • Date: 2010-09-08 19:03:09 UTC
  • mfrom: (1750 staging)
  • mto: (1750.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 1751.
  • Revision ID: andrew@linuxjedi.co.uk-20100908190309-mya1nu7xvo1fpvk8
Merge trunk into branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
1405
1405
bool Timestamp::is_valid() const
1406
1406
{
1407
1407
  return DateTime::is_valid() 
1408
 
      && in_unix_epoch_range(_years, _months, _days, _hours, _minutes, _seconds);
 
1408
      && in_unix_epoch_range(_years, _months, _days, _hours, _minutes, _seconds)
 
1409
      && (_seconds <= 59);
1409
1410
}
1410
1411
 
1411
1412
bool MicroTimestamp::is_valid() const