using System; using System.Collections.Generic; using System.Text; namespace BrazilTimestampReconstruction { class Utils { /// /// Returns 0 is key1_node lte key2_node /// otherwise returns 1 /// /// /// /// public static bool KeyGreater(string key1, string key2) { int val1 = Int16.Parse(key1.Split(Constants.KEY_SYMB_CHAR)[0]); int val2 = Int16.Parse(key2.Split(Constants.KEY_SYMB_CHAR)[0]); if (val1 > val2) return true; else return false; } } }