/dports/multimedia/mkvtoolnix/mkvtoolnix-65.0.0/tests/unit/common/ |
H A D | strings_parsing.cpp | 183 EXPECT_TRUE(mtx::string::parse_timestamp("123h", timestamp, true)); in TEST() 186 EXPECT_TRUE(mtx::string::parse_timestamp("123m", timestamp, true)); in TEST() 192 EXPECT_TRUE(mtx::string::parse_timestamp("123ms", timestamp, true)); in TEST() 198 EXPECT_TRUE(mtx::string::parse_timestamp("123us", timestamp, true)); in TEST() 201 EXPECT_TRUE(mtx::string::parse_timestamp("123µs", timestamp, true)); in TEST() 204 EXPECT_TRUE(mtx::string::parse_timestamp("123ns", timestamp, true)); in TEST() 214 EXPECT_TRUE(mtx::string::parse_timestamp("-123h", timestamp, true)); in TEST() 217 EXPECT_TRUE(mtx::string::parse_timestamp("-123m", timestamp, true)); in TEST() 223 EXPECT_TRUE(mtx::string::parse_timestamp("-123s", timestamp, true)); in TEST() 293 EXPECT_TRUE(mtx::string::parse_timestamp("34:56", timestamp, true)); in TEST() [all …]
|
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/arrow/rust/arrow/src/compute/kernels/ |
H A D | cast_utils.rs | 166 parse_timestamp("2020-09-08T13:42:29.190855+00:00")? in string_to_timestamp_timezone() 170 parse_timestamp("2020-09-08T13:42:29.190855Z")? in string_to_timestamp_timezone() 174 parse_timestamp("2020-09-08T13:42:29Z")? in string_to_timestamp_timezone() 178 parse_timestamp("2020-09-08T13:42:29.190855-05:00")? in string_to_timestamp_timezone() 192 parse_timestamp("2020-09-08 13:42:29.190855Z")? in string_to_timestamp_timezone_space() 196 parse_timestamp("2020-09-08 13:42:29Z")? in string_to_timestamp_timezone_space() 235 parse_timestamp("2020-09-08T13:42:29.190855")? in string_to_timestamp_no_timezone() 240 parse_timestamp("2020-09-08 13:42:29.190855")? in string_to_timestamp_no_timezone() 253 parse_timestamp("2020-09-08T13:42:29")? in string_to_timestamp_no_timezone() 258 parse_timestamp("2020-09-08 13:42:29")? in string_to_timestamp_no_timezone() [all …]
|
/dports/devel/p5-DateTime-Format-MySQL/DateTime-Format-MySQL-0.0701/t/ |
H A D | 02parse.t | 51 my $dt = $mysql->parse_timestamp( '2003-02-15 10:09:08.0' ); 63 my $dt = $mysql->parse_timestamp( '2014:10:26 01:02:03' ); 87 my $dt = $mysql->parse_timestamp( '2014^1^6 1^2^3.123456' ); 99 my $dt = $mysql->parse_timestamp('70'); 104 my $dt = $mysql->parse_timestamp('69'); 109 my $dt = $mysql->parse_timestamp('1202'); 115 my $dt = $mysql->parse_timestamp('120211'); 122 my $dt = $mysql->parse_timestamp('20120211'); 129 my $dt = $mysql->parse_timestamp('1202110545'); 138 my $dt = $mysql->parse_timestamp('120211054537'); [all …]
|
/dports/sysutils/syslog-ng/syslog-ng-3.35.1/lib/timeutils/tests/ |
H A D | test_scan-timestamp.c | 118 Test(parse_timestamp, standard_bsd_format) in Test() argument 123 Test(parse_timestamp, bsd_extensions) in Test() argument 136 Test(parse_timestamp, standard_bsd_format_year_in_the_future) in Test() argument 142 Test(parse_timestamp, standard_bsd_format_year_in_the_past) in Test() argument 179 Test(parse_timestamp, daylight_saving_behavior_at_spring_without_timezones) in Test() argument 213 Test(parse_timestamp, daylight_saving_detection_at_autumn_with_timezones) in Test() argument 263 Test(parse_timestamp, cisco_timestamps) in Test() argument 300 Test(parse_timestamp, rfc5424_timestamps) in Test() argument 306 Test(parse_timestamp, rfc3164_performance) in Test() argument 322 Test(parse_timestamp, rfc5424_performance) in Test() argument [all …]
|
/dports/sysutils/vector/vector-0.10.0/src/ |
H A D | types.rs | 245 pub fn parse_timestamp(s: &str) -> Result<DateTime<Utc>, Error> { in parse_timestamp() function 274 use super::parse_timestamp; 320 assert_eq!(parse_timestamp("2001-02-03 14:05:06"), Ok(dateref())); in parse_timestamp_auto() 321 assert_eq!(parse_timestamp("02/03/2001:14:05:06"), Ok(dateref())); in parse_timestamp_auto() 322 assert_eq!(parse_timestamp("2001-02-03T14:05:06"), Ok(dateref())); in parse_timestamp_auto() 323 assert_eq!(parse_timestamp("2001-02-03T04:05:06Z"), Ok(dateref())); in parse_timestamp_auto() 324 assert_eq!(parse_timestamp("Sat, 3 Feb 2001 14:05:06"), Ok(dateref())); in parse_timestamp_auto() 325 assert_eq!(parse_timestamp("Sat Feb 3 14:05:06 2001"), Ok(dateref())); in parse_timestamp_auto() 326 assert_eq!(parse_timestamp("3-Feb-2001 14:05:06"), Ok(dateref())); in parse_timestamp_auto() 327 assert_eq!(parse_timestamp("2001-02-02T22:05:06-06:00"), Ok(dateref())); in parse_timestamp_auto() [all …]
|
/dports/devel/grpc130/grpc-1.30.2/tools/github/ |
H A D | pr_latency.py | 85 def parse_timestamp(datetime_str): function 97 'created_at': parse_timestamp(pr['created_at']), 98 'updated_at': parse_timestamp(pr['updated_at']), 110 parse_timestamp(commits[-1]['commit']['author']['date']) 133 latest_datetime = parse_timestamp(status['updated_at']) 136 parse_timestamp(status['updated_at']))
|
/dports/devel/grpc134/grpc-1.34.1/tools/github/ |
H A D | pr_latency.py | 85 def parse_timestamp(datetime_str): function 97 'created_at': parse_timestamp(pr['created_at']), 98 'updated_at': parse_timestamp(pr['updated_at']), 110 parse_timestamp(commits[-1]['commit']['author']['date']) 133 latest_datetime = parse_timestamp(status['updated_at']) 136 parse_timestamp(status['updated_at']))
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/grpc/src/tools/github/ |
H A D | pr_latency.py | 85 def parse_timestamp(datetime_str): function 97 'created_at': parse_timestamp(pr['created_at']), 98 'updated_at': parse_timestamp(pr['updated_at']), 109 parse_timestamp(commits[-1]['commit']['author']['date']) 131 latest_datetime = parse_timestamp(status['updated_at']) 134 parse_timestamp(status['updated_at']))
|
/dports/databases/percona-toolkit/percona-toolkit-3.3.0/t/lib/ |
H A D | Transformers.t | 76 is(parse_timestamp('071015 1:43:52'), '2007-10-15 01:43:52', 'timestamp'); 77 is(parse_timestamp('071015 1:43:52.108'), '2007-10-15 01:43:52.108000', 80 is(parse_timestamp('071015 1:43:00.123456'), '2007-10-15 01:43:00.123456', 82 is(parse_timestamp('071015 1:43:01.123456'), '2007-10-15 01:43:01.123456', 84 is(parse_timestamp('071015 1:43:09.123456'), '2007-10-15 01:43:09.123456',
|
/dports/net/cloud-init/cloud-init-21.4/cloudinit/analyze/tests/ |
H A D | test_dump.py | 7 dump_events, parse_ci_logline, parse_timestamp) 21 float(dt.strftime('%s.%f')), parse_timestamp(trusty_stamp)) 33 parse_timestamp(syslog_stamp)) 44 float(dt.strftime('%s.%f')), parse_timestamp(journal_stamp)) 58 float(dt.strftime('%s.%f')), parse_timestamp(new_stamp))
|
/dports/databases/p5-Rose-DB/Rose-DB-0.783/t/ |
H A D | oracle.t | 75 is($db->parse_timestamp('2002-12-31 12:34:56'), parse_date('12/31/2002 12:34:56'), "parse_timestam… 76 is($db->parse_timestamp('2002-12-31 12:34:56.0'), parse_date('12/31/2002 12:34:56'), "parse_timest… 77 is($db->parse_timestamp('2002-12-31 12:34:56.123'), parse_date('12/31/2002 12:34:56.123'), "parse_… 78 is($db->parse_timestamp('2002-12-31 12:34:56.123456789'), parse_date('12/31/2002 12:34:56.123456'),…
|
H A D | subclass-oracle.t | 75 is($db->parse_timestamp('2002-12-31 12:34:56'), parse_date('12/31/2002 12:34:56'), "parse_timestam… 76 is($db->parse_timestamp('2002-12-31 12:34:56.0'), parse_date('12/31/2002 12:34:56'), "parse_timest… 77 is($db->parse_timestamp('2002-12-31 12:34:56.123'), parse_date('12/31/2002 12:34:56.123'), "parse_… 78 is($db->parse_timestamp('2002-12-31 12:34:56.123456789'), parse_date('12/31/2002 12:34:56.123456'),…
|
/dports/dns/knot3-lib/knot-3.1.5/src/utils/keymgr/ |
H A D | offline_ksk.c | 85 int ret = parse_timestamp(arg_to, &to); in keymgr_pregenerate_zsks() 90 ret = parse_timestamp(arg_from, &from); in keymgr_pregenerate_zsks() 146 int ret = parse_timestamp(arg_from, &from); in keymgr_print_offline_records() 151 ret = parse_timestamp(arg_to, &to); in keymgr_print_offline_records() 177 int ret = parse_timestamp(arg_from, &from); in keymgr_delete_offline_records() 181 ret = parse_timestamp(arg_to, &to); in keymgr_delete_offline_records() 243 int ret = parse_timestamp(arg_from, &from); in keymgr_print_ksr() 247 ret = parse_timestamp(arg_to, &to); in keymgr_print_ksr()
|
/dports/dns/knot3/knot-3.1.5/src/utils/keymgr/ |
H A D | offline_ksk.c | 85 int ret = parse_timestamp(arg_to, &to); in keymgr_pregenerate_zsks() 90 ret = parse_timestamp(arg_from, &from); in keymgr_pregenerate_zsks() 146 int ret = parse_timestamp(arg_from, &from); in keymgr_print_offline_records() 151 ret = parse_timestamp(arg_to, &to); in keymgr_print_offline_records() 177 int ret = parse_timestamp(arg_from, &from); in keymgr_delete_offline_records() 181 ret = parse_timestamp(arg_to, &to); in keymgr_delete_offline_records() 243 int ret = parse_timestamp(arg_from, &from); in keymgr_print_ksr() 247 ret = parse_timestamp(arg_to, &to); in keymgr_print_ksr()
|
/dports/devel/awscli/awscli-1.20.61/awscli/customizations/ |
H A D | scalarparse.py | 30 from botocore.utils import parse_timestamp 44 return parse_timestamp(value).isoformat()
|
/dports/net/p5-AnyEvent-Twitter/AnyEvent-Twitter-0.64/t/ |
H A D | parse_timestamp.t | 7 my $created_at = AnyEvent::Twitter->parse_timestamp("Mon Jun 11 05:58:31 +0000 2007"); 13 my $parsed = AnyEvent::Twitter->parse_timestamp("Thu Mar 01 17:38:56 +0000 2012");
|
/dports/devel/p5-DateTime-Format-Pg/DateTime-Format-Pg-0.16014/t/ |
H A D | parse_infinity.t | 16 my $dt = DateTime::Format::Pg->parse_timestamp('infinity'); 31 my $dt = DateTime::Format::Pg->parse_timestamp('-infinity');
|
/dports/net-im/prosody-modules/Community-Modules-bb8459c220c9/mod_aws_profile/ |
H A D | mod_aws_profile.lua | 3 local parse_timestamp = require "util.datetime".parse; 17 local expiry = parse_timestamp(credentials.Expiration);
|
/dports/security/py-python-registry/python-registry-1.4/tests/ |
H A D | test_parse_timestamp.py | 8 from Registry.RegistryParse import parse_timestamp, parse_windows_timestamp 115 actual = parse_timestamp(tics, resolution, epoch, mode=mode)
|
/dports/devel/libsml/libsml-2a8445b/test/src/ |
H A D | sml_time_test.c | 52 TEST(sml_time, parse_timestamp) { in TEST() argument 92 RUN_TEST_CASE(sml_time, parse_timestamp); in TEST_GROUP_RUNNER()
|
/dports/databases/percona-toolkit/percona-toolkit-3.3.0/lib/ |
H A D | JSONReportFormatter.pm | 137 my $min = parse_timestamp($results->{globals}->{ts}->{min}); 138 my $max = parse_timestamp($results->{globals}->{ts}->{max}); 253 ts => $sample->{ts} ? parse_timestamp($sample->{ts}) : undef, 282 $ts->{$thing} = parse_timestamp($ts->{$thing});
|
H A D | EventTimeline.pm | 174 my $min = parse_timestamp($t->{min}); 177 my $max = parse_timestamp($t->{max});
|
/dports/multimedia/mkvtoolnix/mkvtoolnix-65.0.0/src/common/ |
H A D | webvtt.cpp | 113 mtx::string::parse_timestamp(to_utf8(matches.captured(1)), start); in add_block() 114 mtx::string::parse_timestamp(to_utf8(matches.captured(2)), end); in add_block() 196 mtx::string::parse_timestamp(to_utf8(match.captured(1)), timestamp); in adjust_embedded_timestamps()
|
/dports/multimedia/mkvtoolnix/mkvtoolnix-65.0.0/src/mkvtoolnix-gui/chapter_editor/ |
H A D | generate_sub_chapters_parameters_dialog.cpp | 93 mtx::string::parse_timestamp(to_utf8(m_ui->leStartTimestamp->text()), timestamp); in startTimestamp() 113 …Util::buttonForRole(m_ui->buttonBox)->setEnabled(mtx::string::parse_timestamp(to_utf8(m_ui->leStar… in verifyStartTimestamp()
|
/dports/multimedia/mkvtoolnix/mkvtoolnix-65.0.0/src/common/strings/ |
H A D | parsing.h | 130 extern bool parse_timestamp(const std::string &s, int64_t ×tamp, bool allow_negative = false); 131 extern bool parse_timestamp(const std::string &s, timestamp_c ×tamp, bool allow_negative = fal…
|