calendar

Design question: How would you design a recurring event system?

If you were tasked to build an event scheduling system that supported recurring events, how would you do it? How do you handle when an recurring event is removed? How could you see when the future events will happen? i.e. When creating an event, you could pick "repeating daily" (or weekly, yearly, etc). One design per response please...

Google Calendar like interface

I need to write an application that essentially functions like a week-view of a calendar, columns for the days and then rows for appointments. Where the height of the appointment box visually represents time. In my case, I just don't want the time of day as the vertical axis, I just want hours or mins. The Google AJAX approach is very...

Looking for a room booking/hire calendar control for asp.net

Hi all, I'm looking to implement a room booking calendar using ASP.net. Before I go coding the whole thing myself I thought I'd ask to see if anyone knows of any good free or commercial components that do the following. Display a calendar in month view with the ability to colour code specific days to denote full, partial or no availab...

XML structure for a personal organizer

I'm doing a personal organizer for learning purposes, and i've never worked with XML so i'm not sure if my solution is the best. Here's the basic structure for the XML file i came with: <calendar> <year value="2008"> <month value="october"> <day value="16"> <activity name="mike's birthday" time="2...

Anyone know a simple way using java calendar to subtract X days to a date?

Anyone know a simple way using java calendar to subtract X days to a date? Sry not being able to find any function which allows me to directly subtract X days to a date in java, if anyone could point me into the correct direction. ...

How to display events in the calendar using Ruby?

I am building a calendaring application in ruby on rails. I am using my own schema for storing events, but I don't know how to display events in calendar, and also how to add a calendar in my application. Will I have to write code to display calendar or can I use any plugin to display calendar. ...

Creating a client editable events calendar in html or php

A prospective client wants to have a calendar feature on their website. They want the option to go edit this calendar to update the events. Does Word Press offer something like this? ...

How to sanity check a date in java

I find it curious that the most obvious way to create Date objects in Java has been deprecated and appears to have been "substituted" with not so obvious to use lenient calendar. So... How do you check that a date given as a combination of day, month and year is a valid date? For instance a date 2008-02-31 (as in yyyy-mm-dd) would be in...

How to handle calendar TimeZones using Java?

I have a Timestamp value that comes from my application. The user can be in any given local TimeZone. Since this date is used for a WebService that assumes the time given is always in GMT, I have a need to convert the user's parameter from say (EST) to (GMT). Here's the kicker: The user is oblivious to his TZ. He enters the creation dat...

Convert a string to GregorianCalendar.

I have a string from an email header, like Date: Mon, 27 Oct 2008 08:33:29 -0700. What I need is an instance of GregorianCalendar, that will represent the same moment. As easy as that -- how do I do it? And for the fastest ones -- this is not going to work properly: SimpleDateFormat format = ... // whatever you want Date date = format....

Programmatically add custom event in the iPhone Calendar

Is there any way to add iCal event to the iPhone Calendar from the custom App? ...

Creating a Backpack-like Calendar in Rails

What are the current best practices in the Rails world for displaying a calendar month view with event items bound to the days in the month (like in Backpack or Google Calendar, for example)? I don't need anything like fancy stuff like drag and drop support. I'm just looking for code to let me get a list of events in my controller and ...

What is a good (cheap/free) calendar/schedule control for asp.net?

I need a calendar/scheduler control for asp.net - not a pop-up date picker, but a full page monthly calendar. I'm trying to create an on call rotation / scheduler utility for work, and it'd be great to display the who's on call info in a calendar on a web page where others could quickly see who's on call. using visual studio 2008/asp/n...

PHP datepicker control and event calendar needed

I'm looking for suggestions for a PHP: calendar control/widget that I can embed on a web page to enable users to select dates. A datepicker. calendar software that will provide weekly calendar view, similar to what Microsoft Outlook provides. It should display days of the week in columns and rows representing timeslots. Each cell wo...

How to determine the entire date range displayed by ASP.NET calendar?

The ASP.NET calendar always displays 6 weeks of dates in a 7x6 grid. My problem is that the first day of the target month does not necessarily appear in the first row... in some cases, the entire first row displays dates from the previous month. In other cases, the entire last row displays dates from the next row. Is there a reliable wa...

Java.util.Calendar - milliseconds since Jan 1, 1970

Program followed by output. Someone please explain to me why 10,000,000 milliseconds from Jan 1, 1970 is November 31, 1969. Well, someone please explain what's wrong with my assumption that the first test should produce a time 10,000,000 milliseconds from Jan 1, 1970. Numbers smaller than 10,000,000 produce the same result. public st...

Good date-picker for ASP.NET

I have always been a very big fan of the DHTML calendar http://www.dynarch.com/projects/calendar/ I was planning on using this for an upcoming project in ASP.NET, but I wouldn't mind finding a new calendar control that is specifically made as a ASP.NET user control. Does anyone know of some good ones out there that I should check out? ...

How would I make a calendar/appointment scheduler in PHP?

Does anyone know of a good tutorial? thanks ...

ASP Tabpanel postback only on one tab

Hi I have a tabpanel with a calendar control on the 4th tab but when I select a date, the postback causes the tabpanel to return to the first tab instead of the 4th that it came from. Is there a way to get it to return to the tab that the calendar control is on and not revert back to the first tab ? I know setting autoPostback to true o...

How to specify firstDayOfWeek for java.util.Calendar using a JVM argument

I'm trying to change default firstDayOfWeek for java.util.Calendar from SUNDAY to MONDAY. Is it possible to achieve this through JVM configuration instead of adding this piece of code? cal.setFirstDayOfWeek(Calendar.MONDAY); ...