Adamus
Experienced member
- Messages
- 1,898
- Likes
- 97
Hi
does anybody have a Java class that they'd be prepared to share, for doing date calculations, particularly taking into account the trading calendar?
Specifically, I am trying to calculate the number of days, hours, mins etc between 2 trades, and I need to specify futures exchange business days - so from Friday noon to Monday noon is 1 day, not 3.
Thanks
Adam
does anybody have a Java class that they'd be prepared to share, for doing date calculations, particularly taking into account the trading calendar?
Specifically, I am trying to calculate the number of days, hours, mins etc between 2 trades, and I need to specify futures exchange business days - so from Friday noon to Monday noon is 1 day, not 3.
Thanks
Adam