Esempio n. 1
0
 def iget_restart_sim_time(self, index):
     """
     Will locate restart block nr @index and return the true time
     as a datetime instance.
     """
     ct = CTime(self._iget_restart_time(index))
     return ct.datetime()
Esempio n. 2
0
 def iget_date(self, time_index):
     """
     Returns the simulation date for element nr @time_index.
     """
     long_time = self._iget_sim_time(time_index)
     ct = CTime(long_time)
     return ct.datetime()
Esempio n. 3
0
 def iget_restart_sim_time( self , index ):
     """
     Will locate restart block nr @index and return the true time
     as a datetime instance.
     """
     ct = CTime(self._iget_restart_time( index ))
     return ct.datetime()
Esempio n. 4
0
 def get_sim_date(self):
     ct = CTime( self._get_sim_time( ) )
     return ct.datetime( )
Esempio n. 5
0
 def get_sim_date(self):
     ct = CTime( self._get_sim_time( ) )
     return ct.datetime( )