nitcc/tests: add lexer-shortest.sablecc
[nit.git] / c_src / standard___time._ffi.h
1 /*
2 Extern implementation of Nit module time
3 */
4 #include <time._nitni.h>
5
6 #ifndef STANDARD___TIME_NIT_H
7 #define STANDARD___TIME_NIT_H
8
9
10 #include <time.h>
11 time_t new_TimeT___impl( );
12 time_t new_TimeT_from_i___impl( bigint i );
13 void TimeT_update___impl( time_t recv );
14 String TimeT_ctime___impl( time_t recv );
15 float TimeT_difftime___impl( time_t recv, time_t start );
16 bigint TimeT_to_i___impl( time_t recv );
17 struct tm * new_Tm_gmtime___impl( );
18 struct tm * new_Tm_gmtime_from_timet___impl( time_t t );
19 struct tm * new_Tm_localtime___impl( );
20 struct tm * new_Tm_localtime_from_timet___impl( time_t t );
21 time_t Tm_to_timet___impl( struct tm * recv );
22 bigint Tm_sec___impl( struct tm * recv );
23 bigint Tm_min___impl( struct tm * recv );
24 bigint Tm_hour___impl( struct tm * recv );
25 bigint Tm_mday___impl( struct tm * recv );
26 bigint Tm_mon___impl( struct tm * recv );
27 bigint Tm_year___impl( struct tm * recv );
28 bigint Tm_wday___impl( struct tm * recv );
29 bigint Tm_yday___impl( struct tm * recv );
30 int Tm_is_dst___impl( struct tm * recv );
31 String Tm_asctime___impl( struct tm * recv );
32 String Tm_strftime___impl( struct tm * recv, String format );
33 #endif