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