~drizzle-developers/pkg-drizzle/trunk

« back to all changes in this revision

Viewing changes to drizzled/temporal.cc

  • Committer: Hudson
  • Date: 2010-09-10 22:49:08 UTC
  • mfrom: (1273.485.36 staging)
  • Revision ID: hudson@orisndriz03-20100910224908-cb0fq7vjdg87sag5
* Non-maintainer upload.
* Merged from trunk

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