BB.Caching.Redis.Analytics.BitwiseAnalytics.GetFifteenMinutes C# (CSharp) Method

GetFifteenMinutes() public static method

Gets the key for the 15 minute interval covered by the DateTime supplied.
public static GetFifteenMinutes ( string category, string action, System.DateTime dateTime ) : RedisKey
category string /// Typically the object that was interacted with (e.g. button) ///
action string /// The type of interaction (e.g. click) ///
dateTime System.DateTime /// The DateTime. ///
return RedisKey
        public static RedisKey GetFifteenMinutes(string category, string action, DateTime dateTime)
        {
            // get the key
            string fifteenMinutes = BitwiseAnalytics.DateTimeUtil.FifteenMinutes(dateTime);
            RedisKey key = EventKey(category, action, fifteenMinutes);
            return key;
        }