Swedish Calendar: Midsummer Eve

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Swedish Calendar: Midsummer Eve

Gary Kennedy
// Midsummer Eve (Friday between June 18-24)
            || (w == Friday && (d >= 18 && d <= 24) && m == June)

In the Swedish calendar, i think there might be a mistake, is the midsummer eve not the Friday between June 19-25.


I am not an expert on this point, i just noticed it when comparing quantlib to another system.

gary


------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of
discussion for anyone considering optimizing the pricing and packaging model
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
Reply | Threaded
Open this post in threaded view
|

Re: Swedish Calendar: Midsummer Eve

Luigi Ballabio
So the limits should be >= 19 and <= 25, right?

Luigi

On Wed, Dec 7, 2011 at 10:22 PM, Gary Kennedy <[hidden email]> wrote:

> // Midsummer Eve (Friday between June 18-24)
>             || (w == Friday && (d >= 18 && d <= 24) && m == June)
>
> In the Swedish calendar, i think there might be a mistake, is the midsummer
> eve not the Friday between June 19-25.
>
> http://en.wikipedia.org/wiki/Midsummer#Sweden
>
> I am not an expert on this point, i just noticed it when comparing quantlib
> to another system.

------------------------------------------------------------------------------
Systems Optimization Self Assessment
Improve efficiency and utilization of IT resources. Drive out cost and
improve service delivery. Take 5 minutes to use this Systems Optimization
Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
Reply | Threaded
Open this post in threaded view
|

Re: Swedish Calendar: Midsummer Eve

Gary Kennedy
Yes

Gary

Sent from my iPhone

On 13 Dec 2011, at 10:37, Luigi Ballabio <[hidden email]> wrote:

> So the limits should be >= 19 and <= 25, right?
>
> Luigi
>
> On Wed, Dec 7, 2011 at 10:22 PM, Gary Kennedy <[hidden email]> wrote:
>> // Midsummer Eve (Friday between June 18-24)
>>             || (w == Friday && (d >= 18 && d <= 24) && m == June)
>>
>> In the Swedish calendar, i think there might be a mistake, is the midsummer
>> eve not the Friday between June 19-25.
>>
>> http://en.wikipedia.org/wiki/Midsummer#Sweden
>>
>> I am not an expert on this point, i just noticed it when comparing quantlib
>> to another system.

------------------------------------------------------------------------------
10 Tips for Better Server Consolidation
Server virtualization is being driven by many needs.  
But none more important than the need to reduce IT complexity
while improving strategic productivity.  Learn More!
http://www.accelacomm.com/jaw/sdnl/114/51507609/
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
Reply | Threaded
Open this post in threaded view
|

Re: Swedish Calendar: Midsummer Eve

Luigi Ballabio
Done.  Thanks for the heads-up.

Luigi


On Thu, Dec 15, 2011 at 12:13 PM, Gary Kennedy <[hidden email]> wrote:

> Yes
>
> Gary
>
> Sent from my iPhone
>
> On 13 Dec 2011, at 10:37, Luigi Ballabio <[hidden email]> wrote:
>
>> So the limits should be >= 19 and <= 25, right?
>>
>> Luigi
>>
>> On Wed, Dec 7, 2011 at 10:22 PM, Gary Kennedy <[hidden email]> wrote:
>>> // Midsummer Eve (Friday between June 18-24)
>>>             || (w == Friday && (d >= 18 && d <= 24) && m == June)
>>>
>>> In the Swedish calendar, i think there might be a mistake, is the midsummer
>>> eve not the Friday between June 19-25.
>>>
>>> http://en.wikipedia.org/wiki/Midsummer#Sweden
>>>
>>> I am not an expert on this point, i just noticed it when comparing quantlib
>>> to another system.

------------------------------------------------------------------------------
10 Tips for Better Server Consolidation
Server virtualization is being driven by many needs.  
But none more important than the need to reduce IT complexity
while improving strategic productivity.  Learn More!
http://www.accelacomm.com/jaw/sdnl/114/51507609/
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev