/// <summary> /// /// </summary> /// <param name="daoTweetCount"></param> protected internal BOTimeZone(DAOTimeZone daoTimeZone) { try { _id = daoTimeZone.Id; _timeZoneDisplayName = daoTimeZone.TimeZoneDisplayName; _timeZoneName = daoTimeZone.TimeZoneName; } catch { throw; } }
///<Summary> ///TweetCountCollection ///This method returns the collection of BOTimeZone objects ///</Summary> ///<returns> ///List[BOTimeZone] ///</returns> ///<parameters> /// ///</parameters> public static IList <BOTimeZone> TimeZoneCollection() { try { IList <BOTimeZone> BOTimeZoneCollection = new List <BOTimeZone>(); IList <DAOTimeZone> daoTweetCountCollection = DAOTimeZone.SelectAll(); foreach (DAOTimeZone daoTweetCount in daoTweetCountCollection) { BOTimeZoneCollection.Add(new BOTimeZone(daoTweetCount)); } return(BOTimeZoneCollection); } catch (Exception ex) { throw ex; } }