Browsing 7239 questions and answers with Jon Skeet
https://www.nuget.org/packages/Google.Protobuf/3.1.0/ isn't a feed URL base - that's a page for a specific package. It looks to me like this: $serviceBase = GetPackageUrl($feedUrlBase) $feedUrl = $serviceBase + "Packages" can just be... more 3/22/2017 1:35:43 PM
DateTime itself only has three kinds: Unspecified (no specific time zone) UTC Local (system-local) It doesn't have the notion of being in a specific non-UTC, non-local time zone. If you want to convert from one time zone to another,... more 3/20/2017 4:39:25 PM
I would just change the type of the dictionary, and cast inside your Get method. Definitely, definitely make your dictionary private though - then you can make sure that only your code (ideally only the Get method) can access it: // Any... more 3/19/2017 4:53:40 PM
Well currently you're not doing anything to convert the value - you're using a ZonedDateTime, so it's preserving the time zone (at least, the offset) that was provided. (I'd use OffsetDateTime for this rather than ZonedDateTime, as you... more 3/17/2017 4:51:21 PM
There are two options here, as far as I'm aware: Use the FrameworkPathOverride environment variable as described in this issue to point to them. Restrict your Travis build to only build against .NET Core. This is significantly simpler in... more 3/17/2017 3:23:42 PM
I'm not entirely surprised it's failing to parse that - I suspect it's greedily parsing the "63" and deeming that to be an invalid hour number. We have exactly the same problem in Noda Time - and I don't intend to fix it. Making this work... more 3/17/2017 2:27:21 PM
b refers to an array of arrays. b.length returns how many elements b has - in other words, how many "nested" arrays you have. b[i].length returns how many elements b[i] has - in other words, the length of the nested array referred to by... more 3/17/2017 11:40:33 AM
The compiler will treat directories on the classpath as source root directories - in other words, when trying to find classes for package com.example, it will look for both class and source files in a com/example subdirectory from each... more 3/17/2017 7:24:23 AM
You're using a method that depends on the current thread's current culture - and the system time zone. You'd be much better off using DateTime.ParseExact in my view, and potentially specifying a DateTimeStyles value to force the use of... more 3/15/2017 8:57:42 AM
Firstly, be aware that it could change each day: don't treat a time zone as a fixed offset. Secondly, be aware that the local time specified (for each of start/end) may not even happen, or may happen twice. Work out how you want to handle... more 3/14/2017 7:42:33 PM