Ejemplo n.º 1
0
        public override string ToString()
        {
            //string match = (doTimeZonesMatch) ?
            //	String.Format("Time zone from ZipCode & Actigraph DO NOT MATCH";
            string info = String.Format("<b>{1} {2}</b> {3}{0}<b>Sunset: {4}{0}Sunrise: {5}</b>{0}TimeZone used (from Actigraph):{6}{0}TimeZone of ZipCode:{7}{0}"
                                        , "<br/>"
                                        , Sunrise.ToShortDateString()
                                        , Place
                                        , String.Format("{0} [derived from {1}]", Zip, ZipDerivedFrom)
                                        , Sunset.ToShortTimeString(), Sunrise.ToShortTimeString()
                                        , TimeZoneActigraph.DisplayName
                                        , String.Format("{0} {1}", TimeZoneApiResultZip.zoneName, TimeZoneApiResultZip.abbreviation));

            return(info);
        }