# FarPoint.Win.SuperEdit.GeneralFormatter.ConvertTimePartsToValue

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_SuperEdit_GeneralFormatter_ConvertTimePartsToValue_" data-uid="FarPoint.Win.SuperEdit.GeneralFormatter.ConvertTimePartsToValue*">ConvertTimePartsToValue Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_SuperEdit_GeneralFormatter_ConvertTimePartsToValue_" data-uid="FarPoint.Win.SuperEdit.GeneralFormatter.ConvertTimePartsToValue*"></a>
<h4 id="FarPoint_Win_SuperEdit_GeneralFormatter_ConvertTimePartsToValue_FarPoint_Win_SuperEdit_GeneralFormatter_FpseDecodeParameters_System_TimeSpan__" data-uid="FarPoint.Win.SuperEdit.GeneralFormatter.ConvertTimePartsToValue(FarPoint.Win.SuperEdit.GeneralFormatter.FpseDecodeParameters,System.TimeSpan@)">ConvertTimePartsToValue(FpseDecodeParameters, ref TimeSpan)</h4>
<div class="markdown level1 summary"><p>Given the time parts, convert to a time value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected virtual bool ConvertTimePartsToValue(GeneralFormatter.FpseDecodeParameters pParams, ref TimeSpan retTime)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Overridable Function ConvertTimePartsToValue(pParams As GeneralFormatter.FpseDecodeParameters, ByRef retTime As TimeSpan) As Boolean</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="FarPoint.Win.SuperEdit.GeneralFormatter.html">GeneralFormatter</a>.<a class="xref" href="FarPoint.Win.SuperEdit.GeneralFormatter.FpseDecodeParameters.html">FpseDecodeParameters</a></td>
      <td><span class="parametername">pParams</span></td>
      <td><p>Decode parameters</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.timespan">TimeSpan</a></td>
      <td><span class="parametername">retTime</span></td>
      <td><p>The time</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p>true if the time parts could be converted to a time value; false otherwise</p>
</td>
    </tr>
  </tbody>
</table>
</div>
