Parse a string as a duration.
See Source File
Boost Software License 1.0
Copyright (c) 2020, Joakim Brännström. All rights reserved.
Joakim Brännström (joakim.brannstrom@gmx.com)