Home
Sort by
last modified time
|
relevance
|
path
Repository(s)
applications
arkcompiler
base
build
commonlibrary
developtools
device
docs
domains
drivers
foundation
ide
interface
kernel
napi_generator
productdefine
test
third_party
vendor
select all
invert selection
clear
Full Search
Search through all text tokens(words,strings,identifiers,numbers) in index.
Definition
Only finds symbol definitions(where e.g a variable(function,...) is defined).
Symbol
Only finds symbol(e.g. methods classes,function,variables).
File Path
Path of the source file(use "/").If you want just exact path,enclose it in "".Source files end with: .jar/.bz2/.a/.h/.java...
History
History log comments.
Type
Any
Bzip(2)
C
Clojure
C#
C++
ELF
Erlang
Image file
Fortran
Golang
GZIP
Haskell
Jar
Java
Java class
JavaScript
Lisp
Lua
Pascal
Perl
PHP
Plain Text
PL/SQL
Python
Rust
Scala
Shell script
SQL
Tar
Tcl
Troff
UUEncoded
Visual Basic
XML
Zip
Type of analyzer used to filter file types include with selected(e.g. just C sources).
Help
Searched
refs:datetime
(Results
1 - 8
of
8
) sorted by relevance
/build/hb/util/
H
A
D
system_util.py
24
from
datetime
import
datetime
namespace
82
return int(
datetime
.utcnow().timestamp() * 1000)
83
if time_type == '
datetime
':
84
return
datetime
.now().strftime('%Y-%m-%d %H:%M:%S')
85
return
datetime
.now().replace(microsecond=0)
H
A
D
monitor.py
20
from
datetime
import
datetime
namespace
117
now_time =
datetime
.now().strftime("%H:%M:%S")
/build/lite/
H
A
D
build_ext_components.py
25
from
datetime
import
datetime
namespace
29
start_time =
datetime
.now().replace(microsecond=0)
45
end_time =
datetime
.now().replace(microsecond=0)
/build/scripts/
H
A
D
download_sdk.py
19
import
datetime
namespace
119
now_time =
datetime
.
datetime
.now().strftime('%Y%m%d%H%M%S')
120
last_hour = (
datetime
.
datetime
.now() +
121
datetime
.timedelta(hours=-72)).strftime('%Y%m%d%H%M%S')
/build/scripts/util/
H
A
D
pyd.py
21
import
datetime
namespace
92
now =
datetime
.
datetime
.now()
94
earlier_time = (now -
datetime
.timedelta(days)).timestamp()
109
earlier_time = (now -
datetime
.timedelta(days)).timestamp()
/build/ohos/images/mkimage/
H
A
D
imkcovert.py
21
import
datetime
namespace
163
magic_number =
datetime
.
datetime
.now().strftime("%Y-%m-%d %H:%M:%S")
/build/test/example/
H
A
D
test_build_option.py
31
from
datetime
import
datetime
, timedelta
namespace
526
start_time =
datetime
.strptime(start_time_str, "%Y-%m-%d %H:%M:%S")
527
end_time =
datetime
.strptime(end_time_str, "%Y-%m-%d %H:%M:%S")
529
start_timestamp = int(
datetime
.timestamp(start_time))
530
end_timestamp = int(
datetime
.timestamp(end_time))
543
cost_time =
datetime
.strptime(cost_time_str, "%H:%M:%S")
/build/hb/resolver/
H
A
D
build_args_resolver.py
26
from
datetime
import
datetime
namespace
91
SystemUtil.get_current_time(time_type='
datetime
'))
826
epoch =
datetime
.utcfromtimestamp(28800)
Completed in 6 milliseconds