MHEG5  15.3.0
source/core/inc/mh5date.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002  * Copyright © 2014 The DTVKit Open Software Foundation Ltd (www.dtvkit.org)
00003  * Copyright © 2004 Ocean Blue Software Ltd
00004  * Copyright © 2000 Koninklijke Philips Electronics N.V
00005  *
00006  * This file is part of a DTVKit Software Component
00007  * You are permitted to copy, modify or distribute this file subject to the terms
00008  * of the DTVKit 1.0 Licence which can be found in licence.txt or at www.dtvkit.org
00009  * 
00010  * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
00011  * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
00012  * OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
00013  * 
00014  * If you or your organisation is not a member of DTVKit then you have access
00015  * to this source code outside of the terms of the licence agreement
00016  * and you are expected to delete this and any associated files immediately.
00017  * Further information on DTVKit, membership and terms can be found at www.dtvkit.org
00018  *******************************************************************************/
00026 #ifndef _MH5DATE_H
00027 #define _MH5DATE_H
00028 
00029 /*---includes for this file--------------------------------------------------*/
00030 #include "mh5base.h"
00031 
00032 /*---Constant and macro definitions for public use---------------------------*/
00033 
00034 /*---Enumerations for public use---------------------------------------------*/
00035 
00036 /*---Global type defs for public use-----------------------------------------*/
00037 
00038 /*---Global variable declarations for public use-----------------------------*/
00039 
00040 /*---Global Function prototypes for public use-------------------------------*/
00041 
00048 void MHEG5getDate(S32BIT *day, S32BIT *sec);
00049 
00057 MHEG5String MHEG5formatDate(MHEG5String format, S32BIT day, S32BIT sec);
00058 
00065 S32BIT MHEG5getDayOfWeek(S32BIT day);
00066 
00067 U32BIT JulianDate(S32BIT day, S32BIT month, S32BIT year);
00068 
00069 #endif /*_MH5DATE_H*/
 All Data Structures Files Functions Variables Typedefs Defines