View source code
							
							
						
								Display the source code in core/time.d from which this
								page was generated on github.
							
						
							Report a bug
							
						
								If you spot a problem with this page, click here to create a
								Bugzilla issue.
							
						
							
								Improve this page
							
							
					
								Quickly fork, edit online, and submit a pull request for this page.
								Requires a signed-in GitHub account. This works well for small changes.
								If you'd like to make larger changes you may want to consider using
								local clone.
							
						Function core.time.Duration.toString
Converts this Duration to a string.
						
				string toString() pure nothrow @safe const;
						
					
				The string is meant to be human readable, not machine parseable (e.g.
        whether there is an 's' on the end of the unit name usually depends on
        whether it's plural or not, and empty units are not included unless the
        Duration is zero). Any code needing a specific string format should
        use total or split to get the units needed to create the desired
        string format and create the string itself.
The format returned by toString may or may not change in the future.
Example
writeln(DurationAuthors
Jonathan M Davis and Kato Shoichi
License
					Copyright © 1999-2018 by the D Language Foundation | Page generated by ddox.