Logo Search packages:      
Sourcecode: xdkcal version File versions  Download package

cal.h

/**************************************************
 cal.h -- Copyright(c) 1999 Jiro Sekiba <jir@hello.to>
 **************************************************/
#ifndef __CAL_H__
#define __CAL_H__
#define NAME_BUF 32

extern wchar_t weeks_name[7][NAME_BUF];
extern wchar_t month_name[NAME_BUF];
extern int this_year,this_month,today;

void init_today();
int calc_offset(int year,int month);
int calc_lastday(int year,int month);
int calc_rows(int year, int month);
void init_locale_data(int year, int month,int num_week);
int is_holiday(int year, int month, int day);
#endif

Generated by  Doxygen 1.6.0   Back to index