public static function TryParse( $timeDefinition, Time &$refTime )
      : bool
   {

      if ( $timeDefinition instanceof Time )
      {
         // No converting needed! Return as it.
         $refTime = $timeDefinition;
         return true;
      }

      if ( $timeDefinition instanceof DateTime )
      {
         $refTime = $timeDefinition->getTime();
         return true;
      }

      if ( $timeDefinition instanceof \DateTime )
      {
         $refTime = ( new DateTime( $timeDefinition ) )->getTime();
         return true;
      }

      if ( false !== ( $dt = DateTime::Parse( $timeDefinition ) ) )
      {
         $refTime = $dt->getTime();
         return true;
      }

      return false;

   }