remove unnecessary try/catch block in nothrow method
refactor Duration._toStringImpl to reduce code and object size
Merge pull request #640 from dawgfoto/refactorDurationToStringImpl

refactor Duration._toStringImpl to reduce code and object size
fix issue 11293 (locale enumeration for Windows, OS X, Linux, FreeBSD)

Add the missing LC_MESSAGES constant for Linux.

Fix the enumeration values for Windows, OS X and FreeBSD,
which were using Linux's values, incorrectly.
Merge pull request #641 from luismarques/issue_11293

fix issue 11293 (locale enumeration for Windows, OS X, Linux)