Click
  1. Click
  2. CLK-140

TimeControl - possible addition of new control to the click extras package

    Details

    • Type: New Feature New Feature
    • Status: In Progress
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 3.0.0
    • Component/s: extras
    • Labels:
      None
    • Environment:
      java ?

      Description

      I have created a custom control for use in one of my own projects and would like to donate the code in case the click team feels the control might be of use to other's. It is probably still has some missing things, but the code is in perfect working order. The control is used to represent a time or duration in the format hh:mm:ss. Included in the source is the click control called TimeField.java, a Java class to represent the time, called .... um, Time.java, and a very rudamentary javascript validation file. The packages names of the .java files will have to be changed to fit into the click project, since they currently belong to a package in my own domain. Not sure what else to mention, hope I have covered everything ... this is my first time trying to contribute something (small) to an opensource project

      1. ASF.LICENSE.NOT.GRANTED--TimeField.java
        8 kB
        Willie Krause
      2. ASF.LICENSE.NOT.GRANTED--Time.java
        18 kB
        Willie Krause
      3. ASF.LICENSE.NOT.GRANTED--TimeField.js
        0.6 kB
        Willie Krause
      4. ASF.LICENSE.NOT.GRANTED--TimeFormatException.java
        0.3 kB
        Willie Krause
      5. ASF.LICENSE.NOT.GRANTED--Time.html
        31 kB
        Willie Krause
      6. ASF.LICENSE.NOT.GRANTED--TimeField.html
        18 kB
        Willie Krause

        Activity

        Hide
        Willie Krause added a comment -

        Click TimeField Control

        Show
        Willie Krause added a comment - Click TimeField Control
        Hide
        Willie Krause added a comment -

        Some of the javadoc that may be usefull

        Show
        Willie Krause added a comment - Some of the javadoc that may be usefull
        Hide
        Ahmed Mohombe added a comment -

        Changed the title of this issue to be more suggestive

        Show
        Ahmed Mohombe added a comment - Changed the title of this issue to be more suggestive
        Hide
        Ahmed Mohombe added a comment -

        Hi Willie,

        I reviewed your control, and it could be a nice addition, but not in the actual form, as it requires just too many changes.

        Please consider changing this control to use http://joda-time.sourceforge.net/ library instead of your own "Time API". AFAIK Joda-time is in the JSR process, so it will be part of the JDK, and it's very well tested.

        Ahmed.

        Show
        Ahmed Mohombe added a comment - Hi Willie, I reviewed your control, and it could be a nice addition, but not in the actual form, as it requires just too many changes. Please consider changing this control to use http://joda-time.sourceforge.net/ library instead of your own "Time API". AFAIK Joda-time is in the JSR process, so it will be part of the JDK, and it's very well tested. Ahmed.
        Hide
        Adrian A. added a comment -

        >You will be happy to know that I have in the meantime changed and improved upon this component and it is
        > now using JodaTime as you suggest.
        Very nice.

        > If there is still interest, I could post this code.
        Yes of course. I would like to take a look at it.

        Adrian.

        Show
        Adrian A. added a comment - >You will be happy to know that I have in the meantime changed and improved upon this component and it is > now using JodaTime as you suggest. Very nice. > If there is still interest, I could post this code. Yes of course. I would like to take a look at it. Adrian.
        Hide
        Adrian A. added a comment -

        >>You will be happy to know that I have in the meantime changed and improved upon this component and it is
        >> now using JodaTime as you suggest.
        >Very nice.

        >> If there is still interest, I could post this code.
        >Yes of course. I would like to take a look at it.
        Willie,
        do you have any news on this issue?

        Show
        Adrian A. added a comment - >>You will be happy to know that I have in the meantime changed and improved upon this component and it is >> now using JodaTime as you suggest. >Very nice. >> If there is still interest, I could post this code. >Yes of course. I would like to take a look at it. Willie, do you have any news on this issue?

          People

          • Assignee:
            Adrian A.
            Reporter:
            Willie Krause
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Development