Logo Search packages:      
Sourcecode: jcal version File versions

ltest.c

#include "jalali.h"

int main(int argc, char** argv) {
    if (is_jleap(atoi(argv[1])))
      printf("year %d is leap\n", atoi(argv[1])) ;
    else 
      printf("year %d is not leap\n", atoi(argv[1])) ;
}

Generated by  Doxygen 1.6.0   Back to index