Share

Date controls for Eclipse SWT

Code

Programming Languages: Java

License: Eclipse Public License

Repositories

browse code, statistics, last commit on 2007-01-19 svn co https://ecl-datepicker.svn.sourceforge.net/svnroot/ecl-datepicker ecl-datepicker

Show:

What's happening?

  • Date controls for Eclipse SWT

    aih1013 committed revision 29 to the Date controls for Eclipse SWT SVN repository, changing 2 files.

    2007-01-19 19:02:13 UTC by aih1013

  • Date controls for Eclipse SWT

    aih1013 committed revision 28 to the Date controls for Eclipse SWT SVN repository, changing 7 files.

    2007-01-19 19:01:13 UTC by aih1013

  • Comment: scroll by year

    This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker).

    2006-12-06 03:20:06 UTC by sf-robot

  • Comment: Erroneous date returned from DateSelector

    Following on from previous comment, I think my fix is therefore not valid, as it will change week numbering in the Calendar instance returned? Instead, onMouseDown needs a more sophisticated algorithm for determing week number in month.

    2006-12-04 21:54:08 UTC by nobody

  • Comment: Erroneous date returned from DateSelector

    Further investigation reveals java.util.Calendar.getMinimalDaysInFirstWeek() can return a different value for each locale. It's 4 for en-UK. But it's 1 for en-US, so the bug would not have shown itself if testing under English (American).

    2006-12-04 21:41:12 UTC by nobody

  • Erroneous date returned from DateSelector

    DateSelector assumes that java.util.Calendar always numbers the first week in a month as one, but it appears that, by default, Calendar will number it zero if it contains less than 4 days. For such months, a week is erroneously added to the date actually clicked on. To fix: private void onMouseDown(Event event) { if (event.button != 1) { return; } forceFocus(); Calendar...

    2006-12-04 03:11:55 UTC by nobody

  • Comment: scroll by year

    Yes, it is obvious. I think we can put additional year-offset buttons onto the control.

    2006-11-21 10:45:54 UTC by aih1013

  • scroll by year

    Right now, the datepicker can only scroll by month. How hard would it be to add the yearly scrolling? It really is a necessary feature for any viable datepicker control, don't you think?.

    2006-11-13 22:51:07 UTC by czerwonka

  • Comment: can't paint flat border

    Logged In: YES user_id=182888 There's a bug in the patch... there should not be a "break" at the end paintControl method.

    2006-11-11 18:54:41 UTC by czerwonka

  • Comment: can't paint flat border

    Logged In: YES user_id=891422 Thank you for your participation. We will integrate you patch ASAP.

    2006-11-11 17:43:32 UTC by aih1013

Our Numbers