From 65f53da8e805a43eae473016ae3fe46b7065fa51 Mon Sep 17 00:00:00 2001
From: Andrew Bonventre
+ The new ToValidUTF8
function returns a
+ copy of a given byte slice with each run of invalid UTF-8 byte sequences replaced by a given slice.
+
- TODO: https://golang.org/cl/142003: add ToValidUTF8
+ The new ToValidUTF8
function returns a
+ copy of a given string with each run of invalid UTF-8 byte sequences replaced by a given string.
- TODO: https://golang.org/cl/122876: add support for day-of-year in Format and Parse
+ Day-of-year is now supported by Format
+ and Parse
.
- TODO: https://golang.org/cl/167387: add methods to convert duration to microseconds and milliseconds
+ The new Duration
methods
+ Microseconds
and
+ Milliseconds
return
+ the duration as an integer count of their respectively named units.