Home
last modified time | relevance | path

Searched full:datetime (Results 1 – 25 of 43) sorted by relevance

12

/openbsd/src/gnu/usr.bin/perl/cpan/Time-Piece/t/
D99legacy.t19 isnt( $t1->datetime, $timestring, 'LEGACY: parse string months fail' );
21 is( $t2->datetime, $timestring, 'LEGACY: parse array' );
23 is( $t2->datetime, $timestring, 'LEGACY: parse with no args dies' );
25 is( $t2->datetime, $timestring, 'LEGACY: parse as non-method dies' );
D02core.t42 cmp_ok($t->datetime, 'eq','2000-02-29T12:34:56');
175 $t->datetime(date => '/', T => ' ', time => '-'),
D02core_dst.t54 cmp_ok($t->datetime, 'eq','2013-07-09T12:07:11');
/openbsd/src/gnu/llvm/llvm/utils/Reviewing/
Dfind_interesting_reviews.py15 from datetime import datetime, timedelta
92 datetime.fromtimestamp(self.most_recent_info)
225 oldest_info_to_fetch = datetime.fromtimestamp(most_recent_info) - \
232 datetime.fromtimestamp(most_recent_info)))
234 and datetime.fromtimestamp(oldest_info) > oldest_info_to_fetch):
237 datetime.fromtimestamp(cache.oldest_info) > oldest_info_to_fetch)
241 datetime.fromtimestamp(cache.oldest_info)
258 datetime.fromtimestamp(most_recent_info)))
295 id, datetime.fromtimestamp(dateModified), len(phabDiffs)))
346 datetime.fromtimestamp(cache.most_recent_info)
[all …]
/openbsd/src/gnu/llvm/lld/utils/
Dbenchmark.py14 import datetime
118 start = datetime.datetime.utcnow().isoformat()
120 end = datetime.datetime.utcnow().isoformat()
/openbsd/src/gnu/llvm/clang/utils/CIndex/
Dcompletion_logger_server.py6 import datetime
34 f.write("\"time\": \"{0}\"".format(datetime.datetime.utcnow().strftime('%Y-%m-%d %H:%M:%S')))
/openbsd/src/gnu/llvm/lldb/third_party/Python/module/unittest2/unittest2/test/
Dtest_assertions.py1 import datetime
54 first = datetime.datetime.now()
55 second = first + datetime.timedelta(seconds=10)
57 delta=datetime.timedelta(seconds=20))
59 delta=datetime.timedelta(seconds=5))
/openbsd/src/gnu/usr.bin/perl/cpan/CPAN-Meta/t/data-fixable/
D284247103-META.yml23 DateTime: 0
24 DateTime::Format::Pg: 0.08
D1985980974-META.yml14 DateTime: "\"\""
/openbsd/src/gnu/llvm/clang/docs/tools/
Dgenerate_formatted_state.py8 from datetime import datetime
84 today = datetime.now().strftime("%B %d, %Y %H:%M:%S")
/openbsd/src/gnu/llvm/llvm/utils/lit/lit/
Dreports.py2 import datetime
163 'start_time': datetime.datetime.fromtimestamp(start_time).isoformat() + 'Z',
/openbsd/src/gnu/llvm/lldb/examples/python/
Ddisasm-stress-test.py4 import datetime
218 print(str(datetime.timedelta(seconds=remaining_time)))
/openbsd/src/gnu/usr.bin/perl/cpan/Test-Simple/t/lib/
DMyOverload.pm16 # For example, DateTime objects.
/openbsd/src/gnu/usr.bin/perl/dist/encoding-warnings/t/
D2-fatal.t3 # $Revision: #4 $ $Change: 1626 $ $DateTime: 2004-03-14T16:53:19.351256Z $
D1-warning.t3 # $Revision: #5 $ $Change: 6145 $ $DateTime: 2004-07-16T03:49:06.717424Z $
/openbsd/src/gnu/llvm/lldb/examples/summaries/cocoa/
DNSDate.py16 import datetime
30 osx_epoch = datetime.date(2001, 1, 1).timetuple()
Dmetrics.py10 import datetime
/openbsd/src/gnu/usr.bin/perl/t/porting/
Dknown_pod_issues.dat92 DateTime
93 DateTime::Format::CLDR
/openbsd/src/gnu/usr.bin/perl/cpan/perlfaq/lib/
Dperlfaq4.pod527 L<Date::Calc>, or L<DateTime> modules can help you.
557 You can also do the same things with the L<DateTime> module:
559 $ perl -MDateTime -le'print DateTime->today->jd'
561 $ perl -MDateTime -le'print DateTime->today->mjd'
563 $ perl -MDateTime -le'print DateTime->today->doy'
575 X<date> X<yesterday> X<DateTime> X<Date::Calc> X<Time::Local>
582 work with calendars instead of times. The L<DateTime> module makes it
586 use DateTime;
588 my $yesterday = DateTime->now->subtract( days => 1 );
/openbsd/src/gnu/llvm/lld/docs/
Dconf.py14 from datetime import date
/openbsd/src/gnu/llvm/clang/docs/analyzer/
Dconf.py15 from datetime import date
/openbsd/src/gnu/llvm/libcxx/docs/
Dconf.py14 from datetime import date
/openbsd/src/gnu/llvm/clang/docs/
Dconf.py16 from datetime import date
/openbsd/src/gnu/llvm/llvm/docs/
Dconf.py15 from datetime import date
/openbsd/src/gnu/usr.bin/perl/cpan/Time-Piece/
DPiece.pm378 sub datetime { subroutine
949 $t->datetime # 2000-02-29T12:34:56 (ISO 8601)
1159 of those are options, use the L<DateTime> module which has support for years

12