Searched defs:datetime (Results 1 - 24 of 24) sorted by relevance

/pkg/src/util/log-scripts/
H A Dan2_ip.py27 import datetime namespace
H A Dan_first_timestamp.py32 import datetime namespace
53 d = datetime.datetime(*(time.strptime(mg["date"] + ":" + mg["time"], "%d/%b/%Y:%H:%M:%S")[0:6]))
H A Dan2_ip_active.py30 import datetime namespace
109 firstdt = datetime.datetime(*(time.strptime(firstdate, "%Y-%m-%d")[0:6]))
114 window = datetime.timedelta(30)
118 dt = datetime.datetime(*(time.strptime(d, "%Y-%m-%d")[0:6]))
140 firstdt = datetime.datetime(*(time.strptime(firstdate, "%Y-%m-%d")[0:6]))
H A Dan_filelist.py29 import datetime namespace
83 after = datetime.datetime(*(time.strptime(arg, "%Y-%b-%d")[0:6]))
85 after = datetime.datetime(*(time.strptime(arg, "%Y-%m-%d")[0:6]))
114 d = datetime.datetime(*(time.strptime(mg["date"], "%d/%b/%Y")[0:6]))
H A Dan_catalog.py49 import datetime namespace
163 after = datetime.datetime(*(time.strptime(arg, "%Y-%b-%d")[0:6]))
165 after = datetime.datetime(*(time.strptime(arg, "%Y-%m-%d")[0:6]))
194 d = datetime.datetime(*(time.strptime(mg["date"], "%d/%b/%Y")[0:6]))
H A Dan_ip_active.py28 import datetime namespace
73 after = datetime.datetime(*(time.strptime(arg, "%Y-%b-%d")[0:6]))
75 after = datetime.datetime(*(time.strptime(arg, "%Y-%m-%d")[0:6]))
105 d = datetime.datetime(*(time.strptime(mg["date"], "%d/%b/%Y")[0:6]))
H A Dan_manifest.py28 import datetime namespace
112 after = datetime.datetime(*(time.strptime(arg, "%Y-%b-%d")[0:6]))
114 after = datetime.datetime(*(time.strptime(arg, "%Y-%m-%d")[0:6]))
144 d = datetime.datetime(*(time.strptime(mg["date"], "%d/%b/%Y")[0:6]))
H A Dan_search.py28 import datetime namespace
167 after = datetime.datetime(*(time.strptime(arg, "%Y-%b-%d")[0:6]))
169 after = datetime.datetime(*(time.strptime(arg, "%Y-%m-%d")[0:6]))
198 d = datetime.datetime(*(time.strptime(mg["date"], "%d/%b/%Y")[0:6]))
H A Dan_report.py31 import datetime namespace
/pkg/src/modules/server/
H A Dfeed.py35 import datetime namespace
55 """Returns a string representing a datetime object formatted according
61 """Returns a datetime object representing 'ts_str', which should be in
64 return datetime.datetime(*time.strptime(ts_str, RFC3339_FMT)[0:6])
212 that have been made to the catalog since the specified UTC datetime
254 feed_ts = last - datetime.timedelta(days=days, seconds=seconds)
391 last = datetime.datetime.utcnow()
H A Dtransaction.py29 import datetime namespace
221 self.open_time = datetime.datetime.utcnow()
366 datetime.datetime.utcfromtimestamp(int(open_time_str))
H A Drepository.py27 import datetime namespace
916 return datetime.datetime.utcfromtimestamp(mod_time)
/pkg/src/tests/cli/
H A Dt_pkg_history.py32 import datetime namespace
561 datetime.datetime.utcfromtimestamp(0).strftime(
H A Dt_pkg_depotd.py32 import datetime namespace
316 timestamp = datetime.datetime.strptime(
/pkg/src/modules/client/transport/
H A Dstats.py30 import datetime namespace
/pkg/src/tests/api/
H A Dt_version.py34 import datetime namespace
340 d = datetime.datetime.utcnow()
/pkg/src/modules/
H A Dcfgfiles.py31 import datetime namespace
219 days = datetime.timedelta(seconds=time.time()).days
H A Dversion.py28 import datetime namespace
245 """Version format is release[,build_release]-branch:datetime, which we
331 datetime.datetime(dateint // 10000,
385 def set_timestamp(self, timestamp=datetime.datetime.utcnow()):
386 assert type(timestamp) == datetime.datetime
394 return datetime.datetime
[all...]
H A Dcatalog.py31 import datetime namespace
238 self.last_modified = datetime.datetime.utcnow()
255 """A UTC datetime object representing the time the file used to
268 return datetime.datetime.utcfromtimestamp(mod_time)
508 op_time = datetime.datetime.utcnow()
816 op_time = datetime.datetime
[all...]
H A Dmisc.py35 import datetime namespace
87 MIN_WARN_DAYS = datetime.timedelta(days=30)
124 """convert %Y%m%dT%H%M%SZ format to a datetime object"""
125 return datetime.datetime.strptime(ts,"%Y%m%dT%H%M%SZ")
1223 now = datetime.datetime.utcnow()
1227 nbdt = datetime.datetime.utcfromtimestamp(
1239 nadt = datetime
[all...]
/pkg/src/modules/client/
H A Dclient_api.py30 import datetime namespace
1952 nb = datetime.datetime.utcfromtimestamp(
1959 na = datetime.datetime.utcfromtimestamp(
H A Dimage.py31 import datetime namespace
1214 None if unknown. By default the time is returned via datetime
1216 time is returned as a string (instead of as a datetime
2517 op_time = datetime.datetime.utcnow()
H A Dapi.py59 import datetime namespace
503 """A datetime object representing when the image's metadata was
2490 local_dt = datetime.datetime.strptime(time_str,
2493 utc_dt = datetime.datetime.utcfromtimestamp(secs)
2567 utc_now = datetime.datetime.utcnow().strftime("%Y%m%dT%H%M%SZ")
3345 op_time = datetime.datetime
[all...]
/pkg/src/
H A Dclient.py49 import datetime namespace
4865 start_time = datetime.datetime.fromtimestamp(
4888 output["start"] = datetime.datetime.fromtimestamp(
4892 output["finish"] = datetime.datetime.fromtimestamp(

Completed in 103 milliseconds