std:: time_base
From cppreference.net
C++
Text processing library
| Localization library | |||||||||||||||||||||||||
| Regular expressions library (C++11) | |||||||||||||||||||||||||
| Formatting library (C++20) | |||||||||||||||||||||||||
| Null-terminated sequence utilities | |||||||||||||||||||||||||
| Byte strings | |||||||||||||||||||||||||
| Multibyte strings | |||||||||||||||||||||||||
| Wide strings | |||||||||||||||||||||||||
| Primitive numeric conversions | |||||||||||||||||||||||||
|
|||||||||||||||||||||||||
| Text encoding identifications | |||||||||||||||||||||||||
|
|||||||||||||||||||||||||
Localization library
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
헤더에 정의됨
<locale>
|
||
|
class
time_base
;
|
||
클래스
std::time_base
는
std::time_get
패싯에 의해 상속되는 날짜 순서 상수를 제공합니다.
멤버 타입
| 멤버 타입 | 설명 |
| enum dateorder { no_order, dmy, mdy, ymd, ydm } ; | 비범위 열거형 타입 |
| 열거형 상수 | 설명 |
no_order
|
지정되지 않은 순서 |
dmy
|
일, 월, 년 (유럽식) 순서 |
mdy
|
월, 일, 년 (미국식) 순서 |
ymd
|
년, 월, 일 (아시아식) 순서 |
ydm
|
년, 일, 월 |
참고 항목
|
[virtual]
|
일, 월, 연도의 선호되는 순서를 획득함
(
std::time_get<CharT,InputIt>
의
virtual protected member function)
|
|
[virtual]
|
입력 스트림에서 월, 일, 연도를 추출함
(
std::time_get<CharT,InputIt>
의
virtual protected member function)
|