Libical API Documentation 4.0 UNRELEASED Go to the stable 3.0 documentation
Loading...
Searching...
No Matches
icaldate_p.h
1/*======================================================================
2 FILE: icaldate_p.h
3
4 SPDX-FileCopyrightText: 1986-2000, Hiram Clawson
5 SPDX-License-Identifier: BSD-3-Clause
6======================================================================*/
7
8/*************************************************************************
9 * WARNING: USE AT YOUR OWN RISK *
10 * These are library internal-only functions. *
11 * Be warned that these functions can change at any time without notice. *
12 *************************************************************************/
13
14#ifndef ICALDATE_P_H
15#define ICALDATE_P_H
16
17#include "libical_ical_export.h"
18/*
19 * The ical_caldat and ical_juldat functions are based on work from Hiram Clawson
20 * and have been modified to the needs of the libical project. To distinguish between
21 * the original code and the modifications made, refer to the source code history.
22 *
23 * The original copyright notice is as follows:
24 *
25 * Copyright (c) 1986-2000, Hiram Clawson
26 * All rights reserved.
27 *
28 * Redistribution and use in source and binary forms, with or
29 * without modification, are permitted provided that the following
30 * conditions are met:
31 *
32 * Redistributions of source code must retain the above
33 * copyright notice, this list of conditions and the
34 * following disclaimer.
35 *
36 * Redistributions in binary form must reproduce the
37 * above copyright notice, this list of conditions and
38 * the following disclaimer in the documentation and/or
39 * other materials provided with the distribution.
40 *
41 * Neither name of The Museum of Hiram nor the names of
42 * its contributors may be used to endorse or promote products
43 * derived from this software without specific prior
44 * written permission.
45 *
46 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
47 * CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
48 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
49 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
50 * IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
51 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
52 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
53 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
54 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
55 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
56 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
57 * THE POSSIBILITY OF SUCH DAMAGE.
58 */
59
60typedef struct ut_instant_int {
61 long j_date0;
62 long year;
63 int month;
64 int day;
65 int weekday;
67} UTinstantInt, *UTinstantIntPtr;
68
87LIBICAL_ICAL_EXPORT void ical_caldat(UTinstantIntPtr);
88
104LIBICAL_ICAL_EXPORT void ical_juldat(UTinstantIntPtr);
105
106#endif
Definition icaldate_p.h:60
int day
Definition icaldate_p.h:64
int day_of_year
Definition icaldate_p.h:66
long j_date0
Definition icaldate_p.h:61
long year
Definition icaldate_p.h:62
int month
Definition icaldate_p.h:63
int weekday
Definition icaldate_p.h:65