calendar

CAML OrderBy for SharePoint Recurring Calendar Event

The following is the CAML query from a calendar view for a SharePoint list that I have. I have added an OrderBy statement that references two custom columns within the list. <Query> <Where> <DateRangesOverlap> <FieldRef Name="EventDate"/> <FieldRef Name="EndDate"/> <FieldRef Name="Recurre...

Correct expression for checking leap years

What will be the exact definition of leap year? AFAIK "A year which is divisible by 4 is a leap year. But for century years' the years which are divisible by 400 is a leap year." But that definition makes 100, 200, 300, 400.... upto 1700 NOT LEAP years! But in Gregorian calendar all of them are all leap year, check this out. You can al...

Representing complex scheduled recurrence in a database

I have an interesting problem trying to represent complex schedule data in a database. As a guideline, I need to be able to represent the entirety of what the iCalendar -- ics -- format can represent, but in a database. I'm not actually implementing anything relating to ics, but it gives a good scope of the type of rules I need to be abl...

Flex Open Source Calendar / Enhanced DateChoose

Hey all, I currently use iLog Elixir calendar component, and I am not entirely happy. It is buggy, support sucks and I can't play around with the source. Does anybody know of a good, well maintain flex library project which has a decent calendar / date chooser component? Thanks, Sri ...

"Passing Go" in a (python) date range

Updated to remove extraneous text and ambiguity. The Rules: An employee accrues 8 hours of Paid Time Off on the day after each quarter. Quarters, specifically being: Jan 1 - Mar 31 Apr 1 - Jun 30 Jul 1 - Sep 30 Oct 1 - Dec 31 The Problem Using python, I need to define the guts of the following function: def acrued_hours_betw...

Zend Framework Project - Calendar: Need web calendar with events (like google calendar) for every user separately

Hi, I doing multi users website (it should works for more than 100,000 users) with Zend Framework. I need to create event calendar like google calendar (If it was possible to use google calendar i will do it- please tell me). I have to do that from zero or exist some good Calendar that will work well with Zend? Thanks ...

disable sunday in asp.net calender

How to disable Sunday in asp.net calendar control? I am using C#. ...

Calendar formatting issues

Hi folks! We're searching for information on how to format instances of java.util.Calendar and more general information and coding hints regarding transition from using java.util.Date to java.util.Calendar. best, phil ...

Why is 1942/4/3 00:00:00 an illegal date in java.util.Calendar?

Is there something special in the date 3rd of April 1942? For some reason the the hour of day 0 (12:00 am) is illegal for this specific date. The date is accepted when a lenient calendar is used but the hour of day is incremented to 1 (1:00 am). Relevant code java.util.Calendar calendar = java.util.Calendar.getInstance( java.util...

Validating a wrong date entry in rich faces

In one of our functionality we have some date fields for inline edit where we have enabled manual input. If in rich:calendar component, we manually enter improper date or junk data it will not even call the action method. As per our requirement we need to display an error message for date validation for these kind of fields. Is there any...

Getting data into an input field from YUI Calendar with multi-select:true

<script type="text/javascript"> YAHOO.util.Event.onDOMReady(function(){ YAHOO.dateSelects.exc = new YAHOO.widget.Calendar("exc","excContainer", { title:"Choose a date:", close:true, multi_select:true }); YAHOO.dateSelects.exc.render(); YAHOO.util.Event.addListener( "excshowup", ...

fullCalendar className to multiple eventSources

I am trying to setup my fullCalendar event sources. instead of pulling all of my events through 1 source, I would like to use multiple sources (ie: google, and local json) Here is what I have so far (In short): eventSources: [ //CA HOLIDAYS $.fullCalendar.gcalFeed('http://www.google.com/calendar/feeds/en.canadian%23holiday%40group.v....

How to align Datepicker to text box right edge?

I have jQuery UI Datepicker on the top right edge of my layout. By default, it opens aligned to the left edge of its text box. Thus, it falls out of the layout: How to make it open aligned to the right border of its text box? ...

grails calendar reset

I installed calendar Version 1.2.0-SNAPSHOT in grails and working good . But facing one Issue : When click on cancel button i was doing form reset .but the calendar field is becoming clear and not reseting to default date . <g:form url="${response}" id="program" name="program" method="post"> <calendar:datePicker name="startDate" id="s...

How to get day id's from Infragistics Webcalendar ?

I am working with Infragistics WebCalendar. I need to pass the id's of the certain dates so the designer can color them diferently. The ideea is that I have certain events in certain days and I want those days to stand out. Also, how can I find out which month is selected ? Thanks. ...

Find previous calendar day in python

I have a set of files that I'm saving by date, year_month_day.txt format. I need to open the previous day's text file for some processing. How do I find the previous day's date in python? ...

How to calculate a Date for a 00:00:00 a.m. of a today ?

I need to calculate a java.util.Date for a beginning of a today day (00:00:00 a.m. of a today day). Does someone know something better than resetting fields of java.util.Calendar: Calendar cal = Calendar.getInstance(); cal.set(Calendar.AM_PM, Calendar.AM); cal.set(Calendar.HOUR, 0); cal.set(Calendar.MINUTE, 0); cal.set(Calendar.SECOND, ...

how to insert, update and delete Calendar and events

hi, is there any way to add, delete and update Calendar. and is there any way to add, delete and update Events in Calendar. Thanks. ...

Read and write Calendar.

hi, My objective is to read and write Calendar. i am able to read data from the content://calendar/calendars and content://calendar/events String uriString = "content://calendar/calendars"; Log.i("INFO", "Reading content from " + uriString); readContent(uriString); uriString = "content://calendar/events"; Log.i("INFO", "Readin...

Java: Iterating through start and end dates, best practice?

What is the best practice to iterate through a start and end date? ...