private static string GetTimeModeString(TimestampMode mode) { switch(mode) { case(TimestampMode.INVALID): return "local timestamp"; case(TimestampMode.SYNCHRONIZED): return "synchronized"; default: return "unsynchronized"; } }