Browsing 7239 questions and answers with Jon Skeet
I know the difference between EDT and EST is just in the Day Light Saving of 1 hour, but still I assume Rails treats it as different time zones, right? I wouldn't expect it to, no. They're not different time zones in themselves -... more 3/12/2015 7:04:14 AM
Yes, you can - but not like that. You call the setter method, passing in the value as an argument - you're currently trying to assign a value to the method call, which makes no sense. You... more 3/11/2015 7:18:47 PM
The best fix here is to simplify your code - remove all that duplication of testTest[x][y] by introducing a local variable which can be final (and thus allow you to use it within the anonymous inner class): testText = new... more 3/11/2015 5:40:47 PM
Look at your code just changed to show the level of nesting: service.Add(new XElement("ID", idulong.ToString(), new XElement("Succesfull", 1))); In... more 3/11/2015 3:54:18 PM
The problem is that the time zone IDs in Windows are confusing. Even though the ID is "GMT Standard Time", the time zone referred to by that ID is really "UK time"... like "Europe/London" in IANA. So yes, it will observe DST. If you want... more 3/11/2015 3:06:33 PM
The only point in doing this would be if the MediaCaptureInitializationSettings constructor could throw an exception, and you wanted to make sure that in that case the variable didn't still have a reference to an "old" object. That's... more 3/11/2015 2:04:40 PM
Is there any way of making that method's parameter so specific that it wouldn't compile unless a get+set property is being passed? No. It's just a lambda expression. There are restrictions about what kind of lambda expressions can be... more 3/11/2015 10:17:47 AM
TL;DR: Keep using Noda Time on the server side Choose whether to use BCL data or IANA data; I would personally recommend IANA, but it's your call. (Aside from anything else, IANA data is more clearly versioned.) Use Noda Time to generate... more 3/11/2015 8:38:15 AM
This isn't a servlet issue - that just happens to be the technology used to implement the server, but generally clients don't need to care about that. I strongly suspect it's just that the server is responding with different data depending... more 3/11/2015 7:23:37 AM
To stick within pure LINQ, you can use Except: Dim inOneNotTwo As IEnumerable(Of String) = lstOne.Except(lstNew) Dim inTwoNotOne As IEnumerable(Of String) = lstTwo.Except(lstNew) Alternatively, you could use HashSet(Of T) and... more 3/11/2015 7:04:58 AM