libgo: Update to Go 1.3 release.

From-SVN: r212837
This commit is contained in:
Ian Lance Taylor 2014-07-19 08:53:52 +00:00
parent bcf2fc6ee0
commit 00d86ac99f
456 changed files with 15275 additions and 4847 deletions

View file

@ -174,13 +174,13 @@ func timeToMsDosTime(t time.Time) (fDate uint16, fTime uint16) {
return
}
// ModTime returns the modification time.
// ModTime returns the modification time in UTC.
// The resolution is 2s.
func (h *FileHeader) ModTime() time.Time {
return msDosTimeToTime(h.ModifiedDate, h.ModifiedTime)
}
// SetModTime sets the ModifiedTime and ModifiedDate fields to the given time.
// SetModTime sets the ModifiedTime and ModifiedDate fields to the given time in UTC.
// The resolution is 2s.
func (h *FileHeader) SetModTime(t time.Time) {
h.ModifiedDate, h.ModifiedTime = timeToMsDosTime(t)