Example #1
0
 internal PieciGuide(uint number, TimeZoneInfo timezone) : base(null)
 {
     currentUrl    = string.Format("http://www.pieci.lv/shared/cache/current_st{0}.json", number);
     nextUrl       = string.Format("http://www.pieci.lv/shared/cache/next_st{0}.json", number);
     this.timezone = timezone;
     listedGuide   = number == 19 ? new PieciListedGuide(timezone):null;
 }
Example #2
0
		internal PieciGuide(uint number, TimeZoneInfo timezone) : base(null) {
			currentUrl=string.Format("http://www.pieci.lv/shared/cache/current_st{0}.json", number);
			nextUrl=string.Format("http://www.pieci.lv/shared/cache/next_st{0}.json", number);
			this.timezone=timezone;
			listedGuide=number == 19 ? new PieciListedGuide(timezone):null;
		}