~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/temporal.h

  • Committer: Brian Aker
  • Date: 2010-02-14 01:56:51 UTC
  • mto: (1273.16.5 fix_is)
  • mto: This revision was merged to the branch mainline in revision 1300.
  • Revision ID: brian@gaz-20100214015651-ror9j0xu7dccz0ct
Two fixes for "make dist"

Show diffs side-by-side

added added

removed removed

Lines of Context:
285
285
 
286
286
 
287
287
  /**
 
288
   * Operator overload for adding/subtracting a TemporalInterval
 
289
   * instance to this temporal.
 
290
   *
 
291
   * @param TemporalInterval instance to add/subtract to/from
 
292
   */
 
293
  Date& operator+=(const TemporalIntervalYear &rhs);
 
294
  Date& operator+=(const TemporalIntervalDayOrLess &rhs);
 
295
  Date& operator+=(const TemporalIntervalDayOrWeek &rhs);
 
296
  Date& operator+=(const TemporalIntervalYearMonth &rhs);
 
297
  Date& operator-=(const TemporalIntervalYear &rhs);
 
298
  Date& operator-=(const TemporalIntervalDayOrLess &rhs);
 
299
  Date& operator-=(const TemporalIntervalDayOrWeek &rhs);
 
300
  Date& operator-=(const TemporalIntervalYearMonth &rhs);
 
301
 
 
302
 
 
303
  /**
288
304
   * Operator overload for when a DateTime instance is
289
305
   * assigned to a Date.  We do a copy of the DateTime's
290
306
   * date-related components.
313
329
   *
314
330
   * @param C-String to fill.
315
331
   * @param Length of to C-String
316
 
   * @returns length of string written (including trailing '\0').
 
332
   * @returns length of string written (not including trailing '\0').
317
333
   *          If output was truncated, returns length that would have
318
334
   *          been outputted.
319
335
   */
333
349
   * successful.
334
350
   *
335
351
   * @param String to convert from
336
 
   * @param Length of supplied string (not including trailing '\0').
 
352
   * @param Length of supplied string
337
353
   */
338
354
  virtual bool from_string(const char *from, size_t from_len);
339
355