Home
last modified time | relevance | path

Searched refs:timegm (Results 1 – 25 of 3134) sorted by relevance

12345678910>>...126

/dports/devel/p5-Time-timegm/Time-timegm-0.01/t/
H A D01timegm.t7 use Time::timegm qw( timegm );
11 is( timegm( 0,0,0,1,0,70 ), 0, "timegm 1970-01-01T00:00:00" );
12 is( timegm( 1,0,0,1,0,70 ), 1, "timegm 1970-01-01T00:00:01" );
13 is( timegm( 0,1,0,1,0,70 ), 60, "timegm 1970-01-01T00:01:00" );
14 is( timegm( 0,0,1,1,0,70 ), 60*60, "timegm 1970-01-01T01:00:00" );
15 is( timegm( 0,0,0,2,0,70 ), 60*60*24, "timegm 1970-01-02T00:00:00" );
16 is( timegm( 0,0,0,1,1,70 ), 60*60*24*31, "timegm 1970-02-01T00:00:00" );
17 is( timegm( 0,0,0,1,0,71 ), 60*60*24*365, "timegm 1971-02-01T00:00:00" );
23 is( timegm( 0,0,0,32,0,100 ), timegm( 0,0,0,1,1,100 ), "timegm 2000-02-01T00:00:00" );
26 is( timegm( 0,0,0,32,11,100 ), timegm( 0,0,0,1,0,101 ), "timegm 2001-01-01T00:00:00" );
[all …]
/dports/devel/p5-Perl4-CoreLibs/Perl4-CoreLibs-0.004/t/
H A Dtimelocal.t39 # Test timegm()
46 is $h, $hour, "timegm hour for @$_";
47 is $D, $mday, "timegm day for @$_";
48 is $M, $mon, "timegm month for @$_";
49 is $Y, $year, "timegm year for @$_";
80 is &timegm(0,0,0, 1, 2, 80) - &timegm(0,0,0, 1, 0, 80), 60 * 24 * 3600,
95 eval { &timegm(0,0,0,29,1,1900) };
98 eval { &timegm(0,0,0,29,1,0) };
101 eval { &timegm(0,0,0,29,1,1904) };
104 eval { &timegm(0,0,0,29,1,4) };
[all …]
/dports/lang/perl5.30/perl-5.30.3/cpan/Time-Local/t/
H A DLocal.t96 for my $sub (qw( timegm timegm_nocheck timegm_modern )) {
164 timegm( 0, 0, 0, 1, 2, 80 ) - timegm( 0, 0, 0, 1, 0, 80 ),
219 eval { timegm( 0, 0, 0, 29, 1, 1900 ) };
226 eval { timegm( 0, 0, 0, 29, 1, 200 ) };
233 eval { timegm( 0, 0, 0, 29, 1, 0 ) };
240 eval { timegm( 0, 0, 0, 29, 1, 1904 ) };
244 eval { timegm( 0, 0, 0, 29, 1, 4 ) };
251 eval { timegm( 0, 0, 0, 29, 1, 96 ) };
266 timegm( 8, 14, 3, 19, 0, 2038 ), 2**31,
270 timegm( 16, 28, 6, 7, 1, 2106 ), 2**32,
[all …]
/dports/lang/perl5.32/perl-5.32.1/cpan/Time-Local/t/
H A DLocal.t96 for my $sub (qw( timegm timegm_nocheck timegm_modern )) {
164 timegm( 0, 0, 0, 1, 2, 80 ) - timegm( 0, 0, 0, 1, 0, 80 ),
219 eval { timegm( 0, 0, 0, 29, 1, 1900 ) };
226 eval { timegm( 0, 0, 0, 29, 1, 200 ) };
233 eval { timegm( 0, 0, 0, 29, 1, 0 ) };
240 eval { timegm( 0, 0, 0, 29, 1, 1904 ) };
244 eval { timegm( 0, 0, 0, 29, 1, 4 ) };
251 eval { timegm( 0, 0, 0, 29, 1, 96 ) };
266 timegm( 8, 14, 3, 19, 0, 2038 ), 2**31,
270 timegm( 16, 28, 6, 7, 1, 2106 ), 2**32,
[all …]
/dports/devel/p5-Time-timegm/Time-timegm-0.01/
H A DREADME2 `Time::timegm' - a UTC version of `mktime()'
5 use Time::timegm qw( timegm );
7 my $epoch = timegm( 0, 0, 0, 14, 6-1, 2012-1900 );
21 This module provides a function `timegm' which has this ability.
29 $epoch = timegm( $sec, $min, $hour, $mday, $mon, $year )
40 The Time::Local module also provides a function called `timegm()' with
43 * `Time::timegm::timegm()' handles denormalised values (that is, seconds
46 of the next minute, etc). `Time::Local::timegm()' croaks on
51 * `Time::timegm::timegm()' is implemented by a light XS wrapper around
52 the `timegm(3)' or `_mkgmtime(3)' function provided by the platform's
[all …]
/dports/www/aria2/aria2-1.36.0/test/
H A DTimegmTest.cc43 CPPUNIT_ASSERT_EQUAL((time_t)0, timegm(&tm)); in testTimegm()
45 CPPUNIT_ASSERT_EQUAL((time_t)946774923, timegm(&tm)); in testTimegm()
47 CPPUNIT_ASSERT_EQUAL((time_t)949453323, timegm(&tm)); in testTimegm()
49 CPPUNIT_ASSERT_EQUAL((time_t)1445422770, timegm(&tm)); in testTimegm()
51 CPPUNIT_ASSERT_EQUAL((time_t)-1, timegm(&tm)); in testTimegm()
54 CPPUNIT_ASSERT_EQUAL((time_t)-1, timegm(&tm)); in testTimegm()
57 CPPUNIT_ASSERT_EQUAL((time_t)2177452800LL, timegm(&tm)); in testTimegm()
/dports/astro/p5-Astro-satpass/Astro-satpass-0.122/t/
H A Dtle_pass.t101 timegm( 0, 0, 0, 12, 9, 80 ),
102 timegm( 0, 0, 0, 19, 9, 80 ),
373 timegm( 0, 0, 0, 13, 9, 80 ),
374 timegm( 0, 0, 0, 14, 9, 80 ),
398 timegm( 0, 0, 0, 13, 9, 80 ),
399 timegm( 0, 0, 0, 14, 9, 80 ),
424 timegm( 0, 0, 0, 13, 9, 80 ),
425 timegm( 0, 0, 0, 14, 9, 80 ),
446 timegm( 0, 40, 5, 13, 9, 80 ),
476 timegm( 0, 0, 0, 13, 9, 80 ),
[all …]
/dports/devel/p5-Set-Infinite/Set-Infinite-0.65/lib/Set/Infinite/
H A DArithmetic.pm32 $day_size = timegm(0,0,0,2,3,2001) - timegm(0,0,0,1,3,2001);
134 my $tmp = timegm(@date);
137 my $tmp2 = timegm(@date);
169 my $tmp = timegm(@date);
173 my $tmp2 = timegm(@date);
241 my $epoch = timegm( 0,0,0,
250 my $epoch2 = timegm( 0,0,0,
258 ( timegm( 0,0,0, 1, 0, $index),
265 my $tmp = timegm( 0,0,0, 1, $mon, $year);
270 ( $tmp, timegm( 0,0,0, 1, $mon, $year) );
[all …]
/dports/security/pkcs11-tools/pkcs11-tools-2.5.0/.gnulib/doc/glibc-functions/
H A Dtimegm.texi1 @node timegm
2 @subsection @code{timegm}
3 @findex timegm
15 @uref{https://www.kernel.org/doc/man-pages/online/pages/man3/timegm.3.html,,man timegm}.
18 Gnulib module: timegm
/dports/astro/p5-Astro-satpass/Astro-satpass-0.122/xt/author/
H A Dyear_adjust_y2038.t11 use Time::Local qw{ timegm };
19 Time::y2038 versions of timegm() and gmtime() (both of which deal in
20 Perl years) _year_adjust_y2038() -> timegm() -> gmtime() gives the same
21 year back as if we use the Time::Local version of timegm() (which is
27 timegm().
33 my $want = ( gmtime timegm( 0, 0, 0, 1, 0, $year ) )[5];
/dports/devel/idutils/idutils-4.6/lib/
H A Dtime.in.h211 # undef timegm
212 # define timegm rpl_timegm
214 _GL_FUNCDECL_RPL (timegm, time_t, (struct tm *__tm) _GL_ARG_NONNULL ((1)));
215 _GL_CXXALIAS_RPL (timegm, time_t, (struct tm *__tm));
218 _GL_FUNCDECL_SYS (timegm, time_t, (struct tm *__tm) _GL_ARG_NONNULL ((1)));
220 _GL_CXXALIAS_SYS (timegm, time_t, (struct tm *__tm));
222 _GL_CXXALIASWARN (timegm);
/dports/misc/amanda-server/amanda-3.3.9/gnulib/
H A Dtime.in.h210 # undef timegm
211 # define timegm rpl_timegm
213 _GL_FUNCDECL_RPL (timegm, time_t, (struct tm *__tm) _GL_ARG_NONNULL ((1)));
214 _GL_CXXALIAS_RPL (timegm, time_t, (struct tm *__tm));
217 _GL_FUNCDECL_SYS (timegm, time_t, (struct tm *__tm) _GL_ARG_NONNULL ((1)));
219 _GL_CXXALIAS_SYS (timegm, time_t, (struct tm *__tm));
221 _GL_CXXALIASWARN (timegm);
/dports/misc/amanda-client/amanda-3.3.9/gnulib/
H A Dtime.in.h210 # undef timegm
211 # define timegm rpl_timegm
213 _GL_FUNCDECL_RPL (timegm, time_t, (struct tm *__tm) _GL_ARG_NONNULL ((1)));
214 _GL_CXXALIAS_RPL (timegm, time_t, (struct tm *__tm));
217 _GL_FUNCDECL_SYS (timegm, time_t, (struct tm *__tm) _GL_ARG_NONNULL ((1)));
219 _GL_CXXALIAS_SYS (timegm, time_t, (struct tm *__tm));
221 _GL_CXXALIASWARN (timegm);
/dports/textproc/source-highlight/source-highlight-3.1.9/gl/
H A Dtime.in.h211 # undef timegm
212 # define timegm rpl_timegm
214 _GL_FUNCDECL_RPL (timegm, time_t, (struct tm *__tm) _GL_ARG_NONNULL ((1)));
215 _GL_CXXALIAS_RPL (timegm, time_t, (struct tm *__tm));
218 _GL_FUNCDECL_SYS (timegm, time_t, (struct tm *__tm) _GL_ARG_NONNULL ((1)));
220 _GL_CXXALIAS_SYS (timegm, time_t, (struct tm *__tm));
222 _GL_CXXALIASWARN (timegm);
/dports/net-mgmt/monitoring-plugins/monitoring-plugins-2.3.1/gl/
H A Dtime.in.h210 # undef timegm
211 # define timegm rpl_timegm
213 _GL_FUNCDECL_RPL (timegm, time_t, (struct tm *__tm) _GL_ARG_NONNULL ((1)));
214 _GL_CXXALIAS_RPL (timegm, time_t, (struct tm *__tm));
217 _GL_FUNCDECL_SYS (timegm, time_t, (struct tm *__tm) _GL_ARG_NONNULL ((1)));
219 _GL_CXXALIAS_SYS (timegm, time_t, (struct tm *__tm));
221 _GL_CXXALIASWARN (timegm);
/dports/security/shishi/shishi-1.0.2/gl/
H A Dtime.in.h210 # undef timegm
211 # define timegm rpl_timegm
213 _GL_FUNCDECL_RPL (timegm, time_t, (struct tm *__tm) _GL_ARG_NONNULL ((1)));
214 _GL_CXXALIAS_RPL (timegm, time_t, (struct tm *__tm));
217 _GL_FUNCDECL_SYS (timegm, time_t, (struct tm *__tm) _GL_ARG_NONNULL ((1)));
219 _GL_CXXALIAS_SYS (timegm, time_t, (struct tm *__tm));
221 _GL_CXXALIASWARN (timegm);
/dports/devel/cppi/cppi-1.18/lib/
H A Dtime.in.h210 # undef timegm
211 # define timegm rpl_timegm
213 _GL_FUNCDECL_RPL (timegm, time_t, (struct tm *__tm) _GL_ARG_NONNULL ((1)));
214 _GL_CXXALIAS_RPL (timegm, time_t, (struct tm *__tm));
217 _GL_FUNCDECL_SYS (timegm, time_t, (struct tm *__tm) _GL_ARG_NONNULL ((1)));
219 _GL_CXXALIAS_SYS (timegm, time_t, (struct tm *__tm));
221 _GL_CXXALIASWARN (timegm);
/dports/math/latte-integrale/latte-version_1_7_6/code/gnulib/
H A Dtime.in.h210 # undef timegm
211 # define timegm rpl_timegm
213 _GL_FUNCDECL_RPL (timegm, time_t, (struct tm *__tm) _GL_ARG_NONNULL ((1)));
214 _GL_CXXALIAS_RPL (timegm, time_t, (struct tm *__tm));
217 _GL_FUNCDECL_SYS (timegm, time_t, (struct tm *__tm) _GL_ARG_NONNULL ((1)));
219 _GL_CXXALIAS_SYS (timegm, time_t, (struct tm *__tm));
221 _GL_CXXALIASWARN (timegm);
/dports/print/gv/gv-3.7.4/lib/
H A Dtime.in.h211 # undef timegm
212 # define timegm rpl_timegm
214 _GL_FUNCDECL_RPL (timegm, time_t, (struct tm *__tm) _GL_ARG_NONNULL ((1)));
215 _GL_CXXALIAS_RPL (timegm, time_t, (struct tm *__tm));
218 _GL_FUNCDECL_SYS (timegm, time_t, (struct tm *__tm) _GL_ARG_NONNULL ((1)));
220 _GL_CXXALIAS_SYS (timegm, time_t, (struct tm *__tm));
222 _GL_CXXALIASWARN (timegm);
/dports/sysutils/metalog/metalog-3/gnulib/lib/
H A Dtime.in.h210 # undef timegm
211 # define timegm rpl_timegm
213 _GL_FUNCDECL_RPL (timegm, time_t, (struct tm *__tm) _GL_ARG_NONNULL ((1)));
214 _GL_CXXALIAS_RPL (timegm, time_t, (struct tm *__tm));
217 _GL_FUNCDECL_SYS (timegm, time_t, (struct tm *__tm) _GL_ARG_NONNULL ((1)));
219 _GL_CXXALIAS_SYS (timegm, time_t, (struct tm *__tm));
221 _GL_CXXALIASWARN (timegm);
/dports/sysutils/renameutils/renameutils-0.12.0/gnulib-lib/
H A Dtime.in.h210 # undef timegm
211 # define timegm rpl_timegm
213 _GL_FUNCDECL_RPL (timegm, time_t, (struct tm *__tm) _GL_ARG_NONNULL ((1)));
214 _GL_CXXALIAS_RPL (timegm, time_t, (struct tm *__tm));
217 _GL_FUNCDECL_SYS (timegm, time_t, (struct tm *__tm) _GL_ARG_NONNULL ((1)));
219 _GL_CXXALIAS_SYS (timegm, time_t, (struct tm *__tm));
221 _GL_CXXALIASWARN (timegm);
/dports/devel/gnulib/gnulib-20140202-stable/doc/glibc-functions/
H A Dtimegm.texi1 @node timegm
2 @subsection @code{timegm}
3 @findex timegm
5 Gnulib module: timegm
/dports/archivers/sharutils/sharutils-4.15.2/lib/
H A Dtime.in.h238 # undef timegm
239 # define timegm rpl_timegm
241 _GL_FUNCDECL_RPL (timegm, time_t, (struct tm *__tm) _GL_ARG_NONNULL ((1)));
242 _GL_CXXALIAS_RPL (timegm, time_t, (struct tm *__tm));
245 _GL_FUNCDECL_SYS (timegm, time_t, (struct tm *__tm) _GL_ARG_NONNULL ((1)));
247 _GL_CXXALIAS_SYS (timegm, time_t, (struct tm *__tm));
249 _GL_CXXALIASWARN (timegm);
/dports/games/freedink-engine/freedink-108.4/gnulib/lib/
H A Dtime.in.h236 # undef timegm
237 # define timegm rpl_timegm
239 _GL_FUNCDECL_RPL (timegm, time_t, (struct tm *__tm) _GL_ARG_NONNULL ((1)));
240 _GL_CXXALIAS_RPL (timegm, time_t, (struct tm *__tm));
243 _GL_FUNCDECL_SYS (timegm, time_t, (struct tm *__tm) _GL_ARG_NONNULL ((1)));
245 _GL_CXXALIAS_SYS (timegm, time_t, (struct tm *__tm));
247 _GL_CXXALIASWARN (timegm);
/dports/archivers/lbzip2/lbzip2-2.5/lib/
H A Dtime.in.h236 # undef timegm
237 # define timegm rpl_timegm
239 _GL_FUNCDECL_RPL (timegm, time_t, (struct tm *__tm) _GL_ARG_NONNULL ((1)));
240 _GL_CXXALIAS_RPL (timegm, time_t, (struct tm *__tm));
243 _GL_FUNCDECL_SYS (timegm, time_t, (struct tm *__tm) _GL_ARG_NONNULL ((1)));
245 _GL_CXXALIAS_SYS (timegm, time_t, (struct tm *__tm));
247 _GL_CXXALIASWARN (timegm);

12345678910>>...126