Exemplo n.º 1
0
 def mtime_dt(self):
     return filetime_to_dt(self.mtime)
Exemplo n.º 2
0
 def ctime_dt(self):
     return filetime_to_dt(self.ctime)
Exemplo n.º 3
0
 def atime_dt(self):
     return filetime_to_dt(self.atime)
Exemplo n.º 4
0
 def mtime_dt(self):
     """
     Returns:
         datetime: MFT entry modification date in Python's datetime format.
     """
     return filetime_to_dt(self.mtime)
Exemplo n.º 5
0
 def rtime_dt(self):
     """
     Returns:
         datetime: Last file access date in Python's datetime format.
     """
     return filetime_to_dt(self.rtime)
Exemplo n.º 6
0
 def atime_dt(self):
     """
     Returns:
         datetime: File modification date in Python's datetime format.
     """
     return filetime_to_dt(self.atime)
Exemplo n.º 7
0
 def atime_dt(self):
     """
     Returns:
         datetime: File modification date in Python's datetime format.
     """
     return filetime_to_dt(self.atime)
Exemplo n.º 8
0
 def rtime_dt(self):
     return filetime_to_dt(self.rtime)
Exemplo n.º 9
0
 def test_filetime_to_dt(self):
     value = 116444736000000000
     self.assertEqual(datetime(1970, 1, 1, 0, 0), filetime_to_dt(value))
Exemplo n.º 10
0
 def atime_dt(self):
     return filetime_to_dt(self.atime)
Exemplo n.º 11
0
 def mtime_dt(self):
     return filetime_to_dt(self.mtime)
Exemplo n.º 12
0
 def ctime_dt(self):
     return filetime_to_dt(self.ctime)
Exemplo n.º 13
0
 def rtime_dt(self):
     """
     Returns:
         datetime: Last file access date in Python's datetime format.
     """
     return filetime_to_dt(self.rtime)
Exemplo n.º 14
0
 def mtime_dt(self):
     """
     Returns:
         datetime: MFT entry modification date in Python's datetime format.
     """
     return filetime_to_dt(self.mtime)
Exemplo n.º 15
0
 def rtime_dt(self):
     return filetime_to_dt(self.rtime)
Exemplo n.º 16
0
 def ctime_dt(self):
     """
     Returns:
         datetime: File creation date in Python's datetime format.
     """
     return filetime_to_dt(self.ctime)
Exemplo n.º 17
0
 def test_filetime_to_dt(self):
     value = 116444736000000000
     self.assertEquals(datetime(1970, 1, 1, 0, 0), filetime_to_dt(value))
Exemplo n.º 18
0
 def ctime_dt(self):
     """
     Returns:
         datetime: File creation date in Python's datetime format.
     """
     return filetime_to_dt(self.ctime)