|
Last change
on this file since 1901 was 1399, checked in by Gregg Young, 17 years ago |
|
Renamed commafmt* to i18nutil* to better reflect its contents; changed makefile to reflect change (Tickets 28, 82)
|
-
Property svn:eolstyle
set to
native
-
Property svn:keywords
set to
Id
|
|
File size:
889 bytes
|
| Line | |
|---|
| 1 |
|
|---|
| 2 | /***********************************************************************
|
|---|
| 3 |
|
|---|
| 4 | $Id: i18nutil.h 1399 2009-03-08 17:11:41Z gyoung $
|
|---|
| 5 |
|
|---|
| 6 | <<<description here>>>
|
|---|
| 7 |
|
|---|
| 8 | Copyright (c) 1993-98 M. Kimes
|
|---|
| 9 | Copyright (c) 2008 Steven H. Levine
|
|---|
| 10 |
|
|---|
| 11 | Change log
|
|---|
| 12 | 07 Feb 09 GKY Add *DateFormat functions to format dates bassed on locale
|
|---|
| 13 |
|
|---|
| 14 | ***********************************************************************/
|
|---|
| 15 |
|
|---|
| 16 | #if !defined(COMMAFMT_H)
|
|---|
| 17 | #define COMMAFMT_H
|
|---|
| 18 |
|
|---|
| 19 | #define DATE_BUF_BYTES 11
|
|---|
| 20 |
|
|---|
| 21 | size_t CommaFmtUL(char *pszBuf, UINT cBufSize, ULONG ullNumber,
|
|---|
| 22 | CHAR chPreferred);
|
|---|
| 23 | size_t CommaFmtULL(char *pszBuf, UINT cBufSize, ULONGLONG ullNumber,
|
|---|
| 24 | CHAR chPreferred);
|
|---|
| 25 | size_t commafmt(PSZ pszBuf, UINT cBufSize, LONG lNumber);
|
|---|
| 26 |
|
|---|
| 27 | VOID DateFormat(CHAR szBuf[DATE_BUF_BYTES], CDATE Date);
|
|---|
| 28 |
|
|---|
| 29 | VOID FDateFormat(CHAR szBuf[DATE_BUF_BYTES], FDATE Date);
|
|---|
| 30 |
|
|---|
| 31 | VOID DTDateFormat(CHAR szBuf[DATE_BUF_BYTES], DATETIME Date);
|
|---|
| 32 |
|
|---|
| 33 | #endif // COMMAFMT_H
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.