Skip to content
Snippets Groups Projects
go1.9.html 36.7 KiB
Newer Older
  • Learn to ignore specific revisions
  •       <a href="/pkg/time/#Duration.Round"><code>Duration.Round</code></a>
    
    Kevin Burke's avatar
    Kevin Burke committed
          and
    
          <a href="/pkg/time/#Duration.Truncate"><code>Duration.Truncate</code></a>
    
          handle rounding and truncating durations to multiples of a given duration.
    
        <p><!-- CL 35710 -->
          Retrieving the time and sleeping now work correctly under Wine.
        </p>
    
    
        <p>
          If a <code>Time</code> value has a monotonic clock reading, its
          string representation (as returned by <code>String</code>) now includes a
          final field <code>"m=±value"</code>, where <code>value</code> is the
          monotonic clock reading formatted as a decimal number of seconds.
        </p>
    
    
        <p><!-- CL 44832 -->
    
          The included <code>tzdata</code> timezone database has been
    
          updated to version 2017b. As always, it is only used if the
          system does not already have the database available.
        </p>
    
    
    </dl><!-- time -->