Skip to content

Commit

Permalink
fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
msambol committed Mar 22, 2024
1 parent b007d3d commit 3e56e83
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/aws-cdk-lib/core/lib/duration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,10 @@ export class Duration {
* Days are the largest ISO duration supported, i.e.,
* weeks, months, and years are not supported.
*
* @example 'P1DT2H3M4.567S' would represent 1 day, 2 hours, 3 minutes, 4 seconds, and 567 milliseconds.
* @example
* // This represents 1 day, 2 hours, 3 minutes, 4 seconds, and 567 milliseconds.
* 'P1DT2H3M4.567S'
*
* @see https://www.iso.org/standard/70907.html
* @param duration an ISO-formatted duration to be parsed.
* @returns the parsed `Duration`.
Expand Down

0 comments on commit 3e56e83

Please sign in to comment.