recurring

.NET: Get all Outlook calendar items

拜拜、爱过 提交于 2019-12-17 10:22:13
问题 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

Paypal Subscription + Recurring Payment

微笑、不失礼 提交于 2019-12-12 13:13:17
问题 I have some doubts regarding Paypal Subscription. We are hosting a website and we would like to give a subscription feature to our customers. We have implemented that with the sandbox subscription feature. It is working fine. We would like to add one feature of discount to our customers. According to that the customers with the discount offer can use the site for a certain period with an discounted amount.After the discount period,the amount will be changed to regular amount. It requires the

Is it possible to change only AMT using UpdateRecurringPaymentsProfile PayPal?

ε祈祈猫儿з 提交于 2019-12-11 09:38:15
问题 This question has been posted elsewhere however I have not found a specific answer yet. What I want to do is simply change the amount (AMT) of a PayPal recurring payments profile from say £55.00 to £60.00. The amount is all I want to change. I am using the below to do this: $request_params = array ( 'USER' => $api_username, 'PWD' => $api_password, 'SIGNATURE' => $api_signature, 'VERSION' => $api_version, 'METHOD' => 'UpdateRecurringPaymentsProfile', 'PROFILEID' => 'I-R159ACHCUJHF', 'AMT' =>

How to Exclude a particular Date while creating a Recurring Event in Ical Outlook Calendar

試著忘記壹切 提交于 2019-12-10 11:47:42
问题 I want to Create a recurring Ical Event in Outlook and I have used RRule please see below RRULE;BYDAY=SU;WKST=MO:FREQ=MONTHLY;INTERVAL=1;UNTIL=20151204T110000 So above will make an event every 04th of month until December 2015 Now in Outlook calendar I dont want to create event on October 4th. Say like it is a recurring event from September to December on 4th Date, But I dont want event to be cerated in October. How to achieve this? Can we exclude any date while making recurring event/ any

Algorithm: how to check intersections of recurring events definitions?

我是研究僧i 提交于 2019-12-10 04:13:17
问题 The question comes from MS Outlook calendar behavior. Imagine I have two recurring events (starting from today): "each second Monday" and "every odd date". Is there any way to check intersections and/or find the first intersecting date algorithmically without brute-forcing over each date? Definitions can be made in CRON's notations or ICal notation. I think it doesn't matter. Are there any solutions for this in Gregorian calendar? UPD : It is also interesting to know how MS Outlook Calendar

Android Alarm Manager Set Repeating at Specific Timing

半城伤御伤魂 提交于 2019-12-08 06:44:47
问题 I am having some problem with alarm manager in Android. So what I am trying to do is set the alarm to repeat to run the DB insertion every day around 12.01AM. Calendar calendar = Calendar.getInstance(); calendar.setTimeInMillis(System.currentTimeMillis()); calendar.set(Calendar.HOUR_OF_DAY, 0 ); calendar.set(Calendar.MINUTE, 1); notificationCount = notificationCount + 1; AlarmManager mgr = (AlarmManager) context .getSystemService(Context.ALARM_SERVICE); Intent notificationIntent = new Intent

Grouping the same recurring items that occur in a row from list

柔情痞子 提交于 2019-12-08 01:54:11
问题 For instance, we have a list like this: L = ["item1", "item2", "item3", "item3", "item3", "item1", "item2", "item4", "item4", "item4"] I want to pack them into list of tuples of the form: [("item1", 1), ("item2", 1), ("item3", 3),... ("item1", 1)] I've already developed an algorithm which does something similar, to get: {item1: 2, item2: 2, ...} (it finds all the occurrences and counts them, even if they aren't neighbours...) However, I want it to groups only those items which have the same

Creating a looping background animation in jquery

*爱你&永不变心* 提交于 2019-12-07 09:22:41
问题 What I want is: when the page loads - the background has color red after 10 seconds the bgColor changes to green with a fade in fade out animation... after another 10 seconds it changes to orange....then again to red and so on.. Could someone help 回答1: Use setinterval with a callback that changes the background: $("document").ready(function() { var colours = [ "blue", "orange", "pink" ]; var counter = 0; function cycleBackground() { $("body").animate({ backgroundColor: colours[counter] }, 500

Android Alarm Manager Set Repeating at Specific Timing

时光总嘲笑我的痴心妄想 提交于 2019-12-07 03:29:29
I am having some problem with alarm manager in Android. So what I am trying to do is set the alarm to repeat to run the DB insertion every day around 12.01AM. Calendar calendar = Calendar.getInstance(); calendar.setTimeInMillis(System.currentTimeMillis()); calendar.set(Calendar.HOUR_OF_DAY, 0 ); calendar.set(Calendar.MINUTE, 1); notificationCount = notificationCount + 1; AlarmManager mgr = (AlarmManager) context .getSystemService(Context.ALARM_SERVICE); Intent notificationIntent = new Intent(context, ReminderAlarm.class); notificationIntent.putExtra("NotifyCount", notificationCount);

mySQL Repeating Events Query

ぐ巨炮叔叔 提交于 2019-12-06 10:36:17
问题 There are some solutions, but i don't know how to change that for my table. So i hope someone could help me. I have the following Table ╔═════╦═════════╦════════════╦════════════╦═══════════╗ ║ UID ║ TITLE ║ BEGIN ║ END ║ RECURRING ║ ╠═════╬═════════╬════════════╬════════════╬═══════════╣ ║ 1 ║ event A ║ 1359741600 ║ 1359745200 ║ none ║ ║ 1 ║ event B ║ 1359741600 ║ 0 ║ daily ║ ║ 1 ║ event C ║ 1359741600 ║ 0 ║ weekly ║ ║ 1 ║ event D ║ 1359741600 ║ 0 ║ monthly ║ ║ 1 ║ event E ║ 1359741600 ║ 0 ║