Date & Time

PyTime

Python stdlib module — time. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

Other Methods

.asctime()Neutral
#
Signature
asctime()

asctime([tuple]) -> string

.clock_getres()Neutral
#
Signature
clock_getres()

clock_getres(clk_id) -> floating point number

.clock_gettime()Neutral
#
Signature
clock_gettime()

clock_gettime(clk_id) -> float

.clock_gettime_ns()Neutral
#
Signature
clock_gettime_ns()

clock_gettime_ns(clk_id) -> int

.clock_settime()Neutral
#
Signature
clock_settime()

clock_settime(clk_id, time)

.clock_settime_ns()Neutral
#
Signature
clock_settime_ns()

clock_settime_ns(clk_id, time)

.ctime()Neutral
#
Signature
ctime()

ctime(seconds) -> string

.get_clock_info()Neutral
#
Signature
get_clock_info()

get_clock_info(name: str) -> dict

.gmtime()Neutral
#
Signature
gmtime()

gmtime([seconds]) -> (tm_year, tm_mon, tm_mday, tm_hour, tm_min,

.localtime()Neutral
#
Signature
localtime()

localtime([seconds]) -> (tm_year,tm_mon,tm_mday,tm_hour,tm_min,

Fully-Qualified Names

FQNField
timefqns[0]

Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.

Import

rule.py
import time