System.TDateTime.operator --

From RAD Studio API Documentation
Jump to: navigation, search

C++

TDateTime& operator --() {Val--; return *this;}
TDateTime operator --(int) {TDateTime tmp(*this); Val--; return tmp;}

Properties

Type Visibility Source Unit Parent
function public systdate.h System TDateTime

Description

Decrements the value of the TDateTime object by a specified number of days.

Use the unary operator -- to decrement the value of the TDateTime object by 1 day.

Use the binary operator -- to decrement the value by the number of days specified by the integer operand.