recurring

Evaluate complex time patterns

拜拜、爱过 提交于 2019-12-04 05:26:42
问题 I would like to define and evaluate ocurrences of some very complex time patterns that cannot be handled by CRON expressions easily. Is there any library that help me to do that? For example: I would like it to occur every 25 seconds. I would like to occur only first and last day of month. But first day of month should gets me resolution of 5 minutes betwen 9:00AM and 11:00AM. The last day of month should evaluate to 5:00AM. I would like to create very complex time pattern that do something

PHP 5.3 DateTime for recurring events

倖福魔咒の 提交于 2019-12-03 11:17:24
问题 I have a calendar application which utilizes the newer PHP DateTime classes. I have a way that I handle recurring events, but it seems hack-ish and I wanted to see if you guys have better ideas: I have a recurring event that starts 11/16/2009 (Nov 16, 2009) It will occur every 3 days The event will recur indefinitely Let's say the user looks at the calendar for Dec, 3100 - this event should show there repeating every 3 days like normal. The question is - how do I calculate those days in that

PHP 5.3 DateTime for recurring events

狂风中的少年 提交于 2019-12-03 00:47:15
I have a calendar application which utilizes the newer PHP DateTime classes. I have a way that I handle recurring events, but it seems hack-ish and I wanted to see if you guys have better ideas: I have a recurring event that starts 11/16/2009 (Nov 16, 2009) It will occur every 3 days The event will recur indefinitely Let's say the user looks at the calendar for Dec, 3100 - this event should show there repeating every 3 days like normal. The question is - how do I calculate those days in that month? ========================================= This is how I basically do it, but I know I'm missing

How to Modify Properties (Time Zone) of Recurring Appointments in Outlook 2010 VBA

你离开我真会死。 提交于 2019-12-02 10:35:44
I am writing a new and revised version of a VBA Outlook macro that will go through all appointment's in a user's calendar and change every recurring series' time zone to Central Standard. No matter what I do, however, I cannot seem to get it to access the recurrence properly. At present, when I debug the macro it will fail the first time a call is made to ex.AppointmentItem.Subject (in the Debug.Print statement after the recurrence pattern rPattern is defined). The central question here is: how can I access and modify an entire series of recurring appointments at one time? Can I a) modify the

Evaluate complex time patterns

人盡茶涼 提交于 2019-12-02 04:03:19
I would like to define and evaluate ocurrences of some very complex time patterns that cannot be handled by CRON expressions easily. Is there any library that help me to do that? For example: I would like it to occur every 25 seconds. I would like to occur only first and last day of month. But first day of month should gets me resolution of 5 minutes betwen 9:00AM and 11:00AM. The last day of month should evaluate to 5:00AM. I would like to create very complex time pattern that do something like this: On monday of first and third week of month gets time between 8:30AM and 11:30AM On tuesday

HangFire recurring task data

瘦欲@ 提交于 2019-12-01 20:41:34
问题 I am coding a MVC 5 internet application and am using HangFire for recurring tasks. If I have a Monthly recurring task, how can I get the value of the next execution time? Here is my code for the recurring task: RecurringJob.AddOrUpdate("AccountMonthlyActionExtendPaymentSubscription", () => accountService.AccountMonthlyActionExtendPaymentSubscription(), Cron.Monthly); I can retrieve the job data as follows: using (var connection = JobStorage.Current.GetConnection()) { var recurringJob =

How to enable recurring payments for sandbox account?

守給你的承諾、 提交于 2019-12-01 11:54:18
问题 How to enable recurring payments for sandbox account? Last time I used sandbox, I enabled it by request on https://www.x.com/developers/paypal/forums/paypal-sandbox/enable-reference-transaction-sandbox Thread is locked and it points to developer.paypal.com. I created there test accounts, and even imported old accounts from old version of sandbox. But I can't find how to enable recurring payments, as it's disabled by default. So, how could I test recurring payments? 回答1: I have set this up

.NET: Get all Outlook calendar items

安稳与你 提交于 2019-11-27 11:08:16
How can I get all items from a specific calendar (for a specific date). Lets say for instance that I have a calendar with a recurring item every Monday evening. When I request all items like this: CalendarItems = CalendarFolder.Items; CalendarItems.IncludeRecurrences = true; I only get 1 item... Is there an easy way to get all items (main item + derived items) from a calendar? In my specific situation it can be possible to set a date limit but it would be cool just to get all items (my recurring items are time limited themselves). I'm using the Microsoft Outlook 12 Object library (Microsoft