axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From axis-...@ws.apache.org
Subject [jira] Created: (AXIS-1521) Problem with the org.apache.axis.types.Time class constructor
Date Thu, 19 Aug 2004 10:33:19 GMT
Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXIS-1521

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-1521
    Summary: Problem with the org.apache.axis.types.Time class constructor
       Type: Bug

     Status: Unassigned
   Priority: Minor

    Project: Axis
 Components: 
             Basic Architecture
   Versions:
             1.1

   Assignee: 
   Reporter: sbello

    Created: Thu, 19 Aug 2004 3:31 AM
    Updated: Thu, 19 Aug 2004 3:31 AM
Environment: j2sdk1.4.2_04

Description:
/*
The org.apache.axis.types.Time have a constructor:

public Time(java.util.Calendar value)

When we invokes this constructor with a Calendar some attributes are reset. The next code
shows this effect.
*/

import org.apache.axis.types.Time;
import java.util.GregorianCalendar;
import java.util.Date;

public class Test {
  public static void main(String[] args) {
    GregorianCalendar aCalendar = new GregorianCalendar();
    System.out.println("Before: " + aCalendar);
    Time aTime = new Time(aCalendar);
    System.out.println("After: " + aCalendar);
  }
}



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message