MorePalmOS
A development library for developing Palm OS applications

MoreDateTime.h

Go to the documentation of this file.
00001 /******************************************************************************
00002  * MorePalmOS
00003  * Copyright (c) 2004 Steven Fisher
00004  *
00005  * Distributed under the Boost Software License, Version 1.0. See accompanying
00006  * license file License.txt or <http://www.boost.org/LICENSE_1_0.txt>.
00007  *
00008  * http://morepalmos.sourceforge.net
00009  *
00010  *   MorePalmOS is the humble begining of an attempt to provide a library for
00011  *   Palm OS development which works around system bugs, illustrate how to
00012  *   use system calls, and provide "glue code" for programming Palm OS
00013  *   applications in a more straightforward way while minimally impacting
00014  *   code size.
00015  *****************************************************************************/
00016 
00021 #ifndef MOREDATETIME_H
00022 #define MOREDATETIME_H
00023 
00024 #ifdef __cplusplus
00025 extern "C" {
00026 #endif
00027 
00028 #include "MorePrefix.h"
00029 
00030 #include <DateTime.h>
00031 
00035 void MTimeDateTimeToDate( const DateTimeType* dateTime, DateType *date );
00036 
00042 void MTimeYMDtoDateType( DateType *date, UInt16 year, UInt16 month,
00043                 UInt16 day );
00044 
00050 void MTimeDateTypeToYMD( const DateType *date, UInt16 *year, UInt16 *month,
00051                 UInt16 *day );
00052 
00053 #ifdef __cplusplus
00054 }
00055 #endif
00056 
00057 #endif

SourceForge.net Logo