test: Add a DST and tests reproducing found failures (#110)
Co-authored-by: Marcelo Soares <marcelo.me.soares@gmail.com>
This commit is contained in:
parent
fbad5c61fe
commit
c78af247fe
1 changed files with 22825 additions and 184 deletions
|
|
@ -75,7 +75,7 @@ class Hlc implements Comparable<Hlc> {
|
|||
factory Hlc.zero(UuidValue nodeId) => Hlc(DateTime.utc(1970), 0, nodeId);
|
||||
|
||||
/// Instantiates an Hlc using the wall clock.
|
||||
factory Hlc.now(UuidValue nodeId) => Hlc(DateTime.now(), 0, nodeId);
|
||||
factory Hlc.now(UuidValue nodeId) => Hlc(clock.now(), 0, nodeId);
|
||||
|
||||
/// Parses the node segment of an HLC string: a UUID, or legacy `uuid:workerId`.
|
||||
static UuidValue parseNodeSegment(String segment) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue