diff --git a/src/Utils/ActivityIdGenerator.cs b/src/Utils/ActivityIdGenerator.cs index f1b3404..c61c58f 100644 --- a/src/Utils/ActivityIdGenerator.cs +++ b/src/Utils/ActivityIdGenerator.cs @@ -14,17 +14,15 @@ public static class ActivityIdGenerator // UUID epoch (October 15, 1582) and Unix epoch (January 1, 1970) private static long UuidEpochDifference = 122192928000000000; - /// Generates an Activity ID for the given epoch timestamp and foreign ID. + /// Generates an Activity ID for the given foreign ID and epoch timestamp. public static Guid GenerateId(string foreignId, int epoch) { return GenerateId(foreignId, Epoch.AddSeconds(epoch)); } /// - /// Generates an Activity ID for the given timestamp and foreign ID. - /// must be UTC. + /// Generates an Activity ID for the given foreign ID and timestamp. /// - /// Raised if the timestamp kind if not UTC. public static Guid GenerateId(string foreignId, DateTime timestamp) { // The backend doesn't care about milliseconds, so we truncate the date here.