📄 ospostime.h
字号:
/**########################################################################*########################################################################*########################################################################* * COPYRIGHT (c) 1998, 1999 by TransNexus, LLC * * This software contains proprietary and confidential information * of TransNexus, LLC. Except as may be set forth in the license * agreement under which this software is supplied, use, disclosure, * or reproduction is prohibited without the prior, express, written* consent of TransNexus, LLC. * *******#########################################################################*#########################################################################*#########################################################################*//* * ospostime.h - OS-specific time structures and prototypes */#ifndef _OSPOSTIME_H#define _OSPOSTIME_H#include "time.h"#include "osp.h"/* time limits */#define OSPC_TIMEMIN ((OSPTTIME)0)#define OSPC_TIMEMAX ((OSPTTIME)LONG_MAX)/* OSP string time format is YYYY-MM-DDThh:mm:ssZ */#define OSPC_TIMESTRINGSIZE (sizeof("YYYY-MM-DDThh:mm:ssZ") + 1)/**//*-----------------------------------------------------------------------* * Function prototypes *-----------------------------------------------------------------------*/#ifdef __cplusplusextern "C" {#endif unsigned OSPPOSTimeCalToString(OSPTTIME, char *); unsigned OSPPOSTimeStringToCal(const char *, OSPTTIME *); int OSPPOSTimeGetTime( OSPTTIME *ospvTime, unsigned int *ospvTimeMS); int OSPPOSTimeFormatGMTTime( OSPTTIME ospvTime, char *ospvFormat, char *ospvTimeString);#ifdef __cplusplus}#endif#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -