This commit is contained in:
Vítor Santos Costa
2015-06-18 01:15:50 +01:00
parent 204f81876a
commit 14330244df
38 changed files with 1501 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
#ifndef CALTIME_H
#define CALTIME_H
#include "caldate.h"
struct caltime {
struct caldate date;
int hour;
int minute;
int second;
long offset;
} ;
extern void caltime_tai(struct caltime *ct, struct tai *t);
extern void caltime_utc(struct caltime *ct, struct tai *t, int *pwday, int *pyday);
extern unsigned int caltime_fmt(char *s, struct caltime *ct);
extern unsigned int caltime_scan(char *s, struct caltime *ct);
#endif