Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calculating which recurring events happen in a date rang
Message
De
17/06/2010 23:03:03
 
 
À
17/06/2010 22:14:42
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
LINQ
Divers
Thread ID:
01469538
Message ID:
01469539
Vues:
37
>I was going to do some ugly processing with loops, but I figured maybe Linq could help me out.
>
>RecurringEvents
>ID (PK)
>StartDate (datetime)
>RecurrenceDays (int)
>
>How can I calculate which of these recurring events happen within a specified date range. Linq's gotta have some sexy method that will do this easily...

I came across this not long ago when I was searching for a way to rewrite recurring event code from VFP to C# (rewriting a message scheduler module):
http://www.xdevsoftware.com/blog/post/Recurring-Events-in-ASPNET.aspx

and there was this:
http://web1.codeproject.com/KB/macros/iCalendar1.aspx?msg=3148502

Those are the only two links I have here. I have more on my other machine...
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform