#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "date.h"
Compounds | |
struct | rnamlDATE |
Functions | |
rnamlDate * | rnamlnewDate () |
Creates a new rnamlDate structure. | |
rnamlDate * | rnamlcloneDate (const rnamlDate *date) |
Clones a rnamlDate struture. | |
void | rnamldeleteDate (rnamlDate *date) |
Frees the rnamlDate structure. | |
int | rnamlisDate (const rnamlObject *obj) |
Tells wheter the object is a rnamlDate. | |
int | rnamlequalsDate (const rnamlDate *left, const rnamlDate *right) |
Tells if left and right are equals. | |
int | rnamlgetDateDay (const rnamlDate *date) |
Gets the date day. | |
void | rnamlsetDateDay (rnamlDate *date, int day) |
Sets the date day. | |
int | rnamlgetDateMonth (const rnamlDate *date) |
Gets the date month. | |
void | rnamlsetDateMonth (rnamlDate *date, int month) |
Sets the date month. | |
int | rnamlgetDateYear (const rnamlDate *date) |
Gets the date year. | |
void | rnamlsetDateYear (rnamlDate *date, int year) |
Sets the date year. | |
xmlcpgObject * | rnamltoXMLDate (const rnamlDate *date) |
Translates the rnamlDate structure into a xmlcpgElement conforming to the RNAML standard. |
|
Clones a rnamlDate struture.
|
|
Frees the rnamlDate structure.
|
|
Tells if left and right are equals.
|
|
Gets the date day.
|
|
Gets the date month.
|
|
Gets the date year.
|
|
Tells wheter the object is a rnamlDate.
|
|
Creates a new rnamlDate structure.
|
|
Sets the date day.
|
|
Sets the date month.
|
|
Sets the date year.
|
|
Translates the rnamlDate structure into a xmlcpgElement conforming to the RNAML standard.
|