Esempio n. 1
0
        [PublicAPI] public string ToString(Encoding encoding)
        {
            var unit = TimeUnit.GetBestTimeUnit(Values);

            return($"[{Lower.ToTimeStr(unit, encoding)};{Upper.ToTimeStr(unit, encoding)}) {{{string.Join("; ", Values.Select(v => v.ToTimeStr(unit, encoding)))}}}");
        }
 public string ToTimeStr(TimeUnit unit = null, bool showLevel = true) =>
 $"[{Lower.ToTimeStr(unit)}; {Upper.ToTimeStr(unit)}] (CI {Level.ToPercentStr()})";
Esempio n. 3
0
        public override string ToString()
        {
            var unit = TimeUnit.GetBestTimeUnit(Values);

            return($"[{Lower.ToTimeStr(unit)};{Upper.ToTimeStr(unit)}) {{{string.Join("; ", Values.Select(v => v.ToTimeStr(unit)))}}}");
        }