Questions tagged [difference]

This tag may refer to 1) the difference between two numbers (i.e. the difference between 5 and 10 is 5) or 2) the things that two or more particular objects do not share in common.

Use this tag for questions that deal with either of the following two topics:

  1. The difference between two numbers.
  2. What two or more particular objects do not share in common.

Related tags:

1970 questions
0
votes
1 answer

Difference between model based testing and model driven testing

After hours of searching on google on the above mentioned topic. I am unable to contrast the difference between model based testing and model driven testing. Tons of definitions are there,. But there is no clear definition with real world example.…
Programmer
  • 408
  • 1
  • 5
  • 15
0
votes
3 answers

Intersection between two arrays

I have a problem finding the difference between two arrays in java, my case is like imagine we have two arrays. array A = {1 , 3 , 5 , 7 ,9 } and array B = {1 ,3 , 4 ,5 , 6 ,7 , 10}. I want to have two results first result is an array which finds…
Amir Ebrahimi
  • 547
  • 1
  • 7
  • 22
0
votes
0 answers

For javascript constructor, what's the difference between factory method and a new factory object?

For a function returning a new object, it could be used as a factory method, or a constructor function, to create new object, like below: function Person() { var o=new Object(); o.age=30; return o; } var p1=Person(); var p2=new…
Troskyvs
  • 7,537
  • 7
  • 47
  • 115
0
votes
2 answers

Need correction or suggestion over javascript that calculate difference in between two dates

Age Calculations I collect this JavaScript from many website; I would like to get age in between two different dates; in this script or example I’m looking to show my daughter age;; Everything goes fine until her age passes 6 month, The script…
0
votes
0 answers

Difference in coefs using garch() and ugarchfit()

I try to fit a GARCH(1,1) to the log-returns of the german stock index (dax) data from 2014-06-03 till 2016-01-01 using ugarchfit from the ugarch. I found that there is a difference to the coefs calculated by using garch from tseries. Why there is…
Mo Bro
  • 13
  • 4
0
votes
0 answers

Performing set-like operations on XML

Is there a mechanism in C#/.NET to perform set-like operations on complex XML structures in a general manner? For instance, suppose i have the following XML structure A:
Gabriel S.
  • 1,347
  • 11
  • 31
0
votes
4 answers

How to find the difference between two timestamp values in mule?

I am getting the timestamp value in the format "dd-MM-yyyy hh:mm:ss.SSSSSS" eg: "2016-05-22 01:02:36.909093". I need to calculate the difference between the two values of the same format mentioned above. Could anyone help to overcome this.
mani
  • 37
  • 1
  • 3
  • 8
0
votes
1 answer

difference Time between rows by factor R

I have this sample: data <- structure(list(timestamp = c(1401581040991, 1401581230769, 1401581410907, 1401581591597, 1401581960830, 1401582002091, 1401582140958, 1401582330515, 1401585071017, 1401585432174, 1401585641225, 1401586011911,…
Floni
  • 475
  • 2
  • 13
0
votes
1 answer

Overview of Android development with C++

I'm looking for a little bit of a compare/contrast on the differences between developing for Android with C++ vs. straight Java. For example, what extra steps should I expect to go through to interface C++ code with the Android system? I know that…
Corey Starbird
  • 73
  • 3
  • 10
0
votes
1 answer

How to get the time span between two date picker values in Javascript?

I've added two Bootstrap Datetime pickers to a HTML5 form. So far I can capture the DateTime value of each picker using the change event of the control. Now I have a case where the time span difference between both DateTime pickers needs to be…
Brian Var
  • 6,029
  • 25
  • 114
  • 212
0
votes
0 answers

Difference between two dates in R for different groups when running a survival analysis

I am creating my dataset to carry out a survival analysis. I have these variables: CASE_ID, i_birthdate_c, i_deathdate_c, difftime_c, event1, enddate. Case_id = unique ID birthdate = subject, enters observation deathdate = when they…
CharlieATX
  • 13
  • 1
  • 5
0
votes
1 answer

if the code in C# dll is running?

I know the CLR would optimize some codes, but I don't know what are they, like the code below: class Program { static void Main(string[] args) { try { Program p = new Program(); string another = "a"; …
windc
  • 131
  • 6
0
votes
1 answer

JavaScript - date stored in localStorage won't cooperate with functions

I have a date stored in localStorage under the variable deadline (Tue Jul 05 2016 18:15:00 GMT+0100 (BST)) and I want to find the difference between this date and new Date() however any function I try to carry out with the locally stored date…
mellows
  • 303
  • 1
  • 7
  • 27
0
votes
2 answers

JavaScript difference between two dates is wrong by one hour

I'm trying to calculate the difference betweent two times, like 10:54 and 09:00 (expected difference is 1 hour 54 minutes): Date.prototype.diffTime = function(date){ return new Date(this-date); } But this returns one hour more than I…
Kugel
  • 808
  • 8
  • 26
1 2 3
99
100