public void TestShortDateNegativeValue()
        {
            ZumpaItem zi = new ZumpaItem();
            zi.Time = -1440000;//36m -1H

            string v = zi.ReadableDateTime;
            Assert.AreEqual("00:36", v);
        }
        public void TestFullDate()
        {
            ZumpaItem zi=  new ZumpaItem();
            zi.Time = 1381275411000L;

            string v = zi.ReadableDateTime;
            Assert.AreEqual("8.10.2013 00:36.51",v);
        }
        public void TestShortDate()
        {
            ZumpaItem zi = new ZumpaItem();
            zi.Time = 76440000;

            string v = zi.ReadableDateTime;
            Assert.AreEqual("22:14", v);
        }
 public void OnItemClick(ZumpaItem item)
 {
     if (item == null) { return; }
     String url = String.Format("?url={0}&title={1}&favorite={2}", HttpUtility.UrlEncode(item.ItemsUrl), HttpUtility.UrlEncode(item.Subject), item.IsFavourite);
     Page.NavigationService.Navigate(new Uri("/ZumpaReader;component/Pages/ThreadPage.xaml" + url, UriKind.RelativeOrAbsolute));
     (Page as MainPage).ListBox.SelectedItem = null;
 }