We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf141e3 commit 13013f9Copy full SHA for 13013f9
proposals/stdlib/uuid.md
@@ -482,6 +482,12 @@ Duration.toIsoString(): String
482
ByteArray.toHexString(format: HexFormat = HexFormat.Default): String
483
```
484
485
+An alternative approach is to support several formats in `parse()` and introduce `parseHexDash()`
486
+and `toHexDashString()` functions for parsing from and formatting to the standard "hex-and-dash" representation.
487
+The concern with supporting multiple formats in `parse()` is that supporting an additional format in the future
488
+could be a breaking change. This situation occurs when code that relies on the rejection of formats not
489
+currently supported is linked with a newer version of the Standard Library that accepts other formats.
490
+
491
## Dependencies
492
493
The dependencies of the proposed API:
0 commit comments