StdConvs.cbTime
From RAD Studio VCL Reference
Contents |
Delphi Information
From StdConvs.pas
cbTime: TConvFamily
Unit: StdConvs
Type: variable
C++ Information
From StdConvs.hpp
unsigned short cbTime;
Unit: StdConvs
Type: variable
Description
The cbTime variable designates units that measure time.
Use the cbTime unit variables as parameters to the Convert function to convert a cbTime measurement to a different set of units. The StdConvs unit registers these cbTime measurement units in the cbTime family and assigns the resulting TConvType values to these global variables.
Note: Conversions involving tuMonths, tuYears, tuDecades, tuCenturies, and tuMillennia are approximations, due to the fact that not all months nor all years have the same length. If you are only using units that are multiples of years, you may want to register your own conversion family that uses years as a base unit so that conversions are more accurate.
Note: To initialize these variables in C++ programs, use the InitStdConvs procedure.