---
name: "std::__timepunct"
section: "3"
platform: "linux"
package: "libstdc++5-3.3-doc"
version: "1:3.3.6-15"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/std::__timepunct"
---

# std::\_\_timepunct(3)

## NAME

std::\_\_timepunct -

## SYNOPSIS

Inherits **std::locale::facet**.

### Public Types

typedef CharT **char\_type**\
 typedef **basic\_string**\< CharT \> **string\_type**\

### Public Member Functions

void **M\_date\_formats** (const CharT \*\*\_\_date) const \
 void **M\_time\_formats** (const CharT \*\*\_\_time) const \
 void **M\_ampm** (const CharT \*\*ampm) const\
 void **M\_date\_time\_formats** (const CharT \*\*\_\_dt) const\
 void **M\_days** (const CharT \*\*\_\_days) const \
 void **M\_days\_abbreviated** (const CharT \*\*\_\_days) const \
 void **M\_months** (const CharT \*\*\_\_months) const\
 void **M\_months\_abbreviated** (const CharT \*\*\_\_months) const\
 template\<\> const char \* **S\_timezones** \[14\]\
 template\<\> const char \* **S\_timezones** \[14\]\

### Static Public Attributes

static **locale::id** **id**\
 static const CharT \* **S\_timezones** \[14\]\

### Protected Attributes

**c\_locale** **M\_c\_locale\_timepunct**\
 char \* **M\_name\_timepunct**\
 const CharT \* **M\_date\_format**\
 const CharT \* **M\_date\_era\_format**\
 const CharT \* **M\_time\_format**\
 const CharT \* **M\_time\_era\_format**\
 const CharT \* **M\_date\_time\_format**\
 const CharT \* **M\_date\_time\_era\_format**\
 const CharT \* **M\_am**\
 const CharT \* **M\_pm**\
 const CharT \* **M\_am\_pm\_format**\
 const CharT \* **M\_day1**\
 const CharT \* **M\_day2**\
 const CharT \* **M\_day3**\
 const CharT \* **M\_day4**\
 const CharT \* **M\_day5**\
 const CharT \* **M\_day6**\
 const CharT \* **M\_day7**\
 const CharT \* **M\_day\_a1**\
 const CharT \* **M\_day\_a2**\
 const CharT \* **M\_day\_a3**\
 const CharT \* **M\_day\_a4**\
 const CharT \* **M\_day\_a5**\
 const CharT \* **M\_day\_a6**\
 const CharT \* **M\_day\_a7**\
 const CharT \* **M\_month01**\
 const CharT \* **M\_month02**\
 const CharT \* **M\_month03**\
 const CharT \* **M\_month04**\
 const CharT \* **M\_month05**\
 const CharT \* **M\_month06**\
 const CharT \* **M\_month07**\
 const CharT \* **M\_month08**\
 const CharT \* **M\_month09**\
 const CharT \* **M\_month10**\
 const CharT \* **M\_month11**\
 const CharT \* **M\_month12**\
 const CharT \* **M\_month\_a01**\
 const CharT \* **M\_month\_a02**\
 const CharT \* **M\_month\_a03**\
 const CharT \* **M\_month\_a04**\
 const CharT \* **M\_month\_a05**\
 const CharT \* **M\_month\_a06**\
 const CharT \* **M\_month\_a07**\
 const CharT \* **M\_month\_a08**\
 const CharT \* **M\_month\_a09**\
 const CharT \* **M\_month\_a10**\
 const CharT \* **M\_month\_a11**\
 const CharT \* **M\_month\_a12**\

### Static Protected Attributes

static **c\_locale** **S\_c\_locale**\
 static char **S\_c\_name** \[2\]\

### Friends

class **locale::Impl**\

## Detailed Description

### template\<typename CharT\> class std::\_\_timepunct\< CharT \>

Definition at line 1094 of file locale\_facets.h.

## Author

Generated automatically by Doxygen for libstdc++-v3 Source from the source code.
