File: isocalendar.h

package info (click to toggle)
python-ciso8601 2.3.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 372 kB
  • sloc: python: 1,294; ansic: 939; sh: 22; makefile: 7
file content (12 lines) | stat: -rw-r--r-- 286 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef ISO_CALENDER_H
#define ISO_CALENDER_H

int
iso_to_ymd(const int iso_year, const int iso_week, const int iso_day,
           int *year, int *month, int *day);

int
ordinal_to_ymd(const int iso_year, const int ordinal_day, int *year,
               int *month, int *day);

#endif