source: trunk/dll/commafmt.h@ 1398

Last change on this file since 1398 was 1397, checked in by Gregg Young, 17 years ago

Some clean up of the date formatting code

  • Property svn:eolstyle set to native
  • Property svn:keywords set to Id
File size: 889 bytes
RevLine 
[1166]1
2/***********************************************************************
3
[1195]4 $Id: commafmt.h 1397 2009-02-08 23:18:29Z gyoung $
[1166]5
[1195]6 <<<description here>>>
[1166]7
[1195]8 Copyright (c) 1993-98 M. Kimes
9 Copyright (c) 2008 Steven H. Levine
[1166]10
[1195]11 Change log
[1395]12 07 Feb 09 GKY Add *DateFormat functions to format dates bassed on locale
[1166]13
14***********************************************************************/
15
16#if !defined(COMMAFMT_H)
17#define COMMAFMT_H
18
[1397]19#define DATE_BUF_BYTES 11
20
[1184]21size_t CommaFmtUL(char *pszBuf, UINT cBufSize, ULONG ullNumber,
22 CHAR chPreferred);
23size_t CommaFmtULL(char *pszBuf, UINT cBufSize, ULONGLONG ullNumber,
24 CHAR chPreferred);
25size_t commafmt(PSZ pszBuf, UINT cBufSize, LONG lNumber);
[1166]26
[1397]27VOID DateFormat(CHAR szBuf[DATE_BUF_BYTES], CDATE Date);
[1395]28
[1397]29VOID FDateFormat(CHAR szBuf[DATE_BUF_BYTES], FDATE Date);
[1395]30
[1397]31VOID DTDateFormat(CHAR szBuf[DATE_BUF_BYTES], DATETIME Date);
[1395]32
[1166]33#endif // COMMAFMT_H
Note: See TracBrowser for help on using the repository browser.