Date and time utilities
De cppreference.com
< cpp
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
C + + inclui suporte para dois tipos de manipulação do tempo:
Original:
C++ includes support for two types of time manipulation:
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
- A biblioteca
chrono, um conjunto de tipos flexíveis que controlam o tempo com graus variáveis de precisão (por exemplo, std::chrono::time_point).Original:Thechronolibrary, a flexible collection of types that track time with varying degrees of precision (e.g. std::chrono::time_point).The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - C-estilo biblioteca de data e hora (por exemplo std::time)Original:C-style date and time library (e.g. std::time)The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
NJ biblioteca
A biblioteca
chrono define três tipos principais (durações, relógios e pontos de tempo), bem como funções de utilidade e typedefs comuns.Original:
The
chrono library defines three main types (durations, clocks, and time points) as well as utility functions and common typedefs.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Duração
A duração é constituído por um espaço de tempo, definida como um número de períodos de alguma unidade de tempo. Por exemplo, "42 segundos" pode ser representado por uma duração que consiste de 42 período de uma unidade de tempo de 1 segundo.
Defined in header
<chrono> | |
Defined in namespace
std::chrono | |
(C++11) |
um intervalo de tempo |