[jira] [Commented] (NET-562) FTPFile.toFormattedString should print only signficant parts of the parsed date

2014-12-11 Thread Sebb (JIRA)

[ 
https://issues.apache.org/jira/browse/NET-562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14242801#comment-14242801
 ] 

Sebb commented on NET-562:
--

URL: http://svn.apache.org/r1644470
Log:
NET-562 FTPFile.toFormattedString should print only signficant parts of the 
parsed date
+set Calendar to indicate which parts are significant remaining parsers
TODO: improve tests - ensure all more significant fields are set

 FTPFile.toFormattedString should print only signficant parts of the parsed 
 date
 ---

 Key: NET-562
 URL: https://issues.apache.org/jira/browse/NET-562
 Project: Commons Net
  Issue Type: Improvement
Reporter: Sebb

 It would be useful if FTPFile.toFormattedString printed the signficant parts 
 of the parsed date.
 i.e. if the returned date includes seconds and milliseconds, these should be 
 included, otherwise they should not be shown. Etc.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (NET-562) FTPFile.toFormattedString should print only signficant parts of the parsed date

2014-12-11 Thread Sebb (JIRA)

[ 
https://issues.apache.org/jira/browse/NET-562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14242797#comment-14242797
 ] 

Sebb commented on NET-562:
--

URL: http://svn.apache.org/r1644664
Log:
NET-562 FTPFile.toFormattedString should print only signficant parts of the 
parsed date
Only clear one field as doing re-enables the 'set' status for all others

 FTPFile.toFormattedString should print only signficant parts of the parsed 
 date
 ---

 Key: NET-562
 URL: https://issues.apache.org/jira/browse/NET-562
 Project: Commons Net
  Issue Type: Improvement
Reporter: Sebb

 It would be useful if FTPFile.toFormattedString printed the signficant parts 
 of the parsed date.
 i.e. if the returned date includes seconds and milliseconds, these should be 
 included, otherwise they should not be shown. Etc.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (NET-562) FTPFile.toFormattedString should print only signficant parts of the parsed date

2014-12-11 Thread Sebb (JIRA)

[ 
https://issues.apache.org/jira/browse/NET-562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14242802#comment-14242802
 ] 

Sebb commented on NET-562:
--

URL: http://svn.apache.org/r1644411
Log:
NET-562 FTPFile.toFormattedString should print only signficant parts of the 
parsed date
+set Calendar to indicate which parts are significant in MLSxEntryParser

 FTPFile.toFormattedString should print only signficant parts of the parsed 
 date
 ---

 Key: NET-562
 URL: https://issues.apache.org/jira/browse/NET-562
 Project: Commons Net
  Issue Type: Improvement
Reporter: Sebb

 It would be useful if FTPFile.toFormattedString printed the signficant parts 
 of the parsed date.
 i.e. if the returned date includes seconds and milliseconds, these should be 
 included, otherwise they should not be shown. Etc.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (NET-562) FTPFile.toFormattedString should print only signficant parts of the parsed date

2014-12-11 Thread Sebb (JIRA)

[ 
https://issues.apache.org/jira/browse/NET-562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14242800#comment-14242800
 ] 

Sebb commented on NET-562:
--

URL: http://svn.apache.org/r1644626
Log:
NET-562 FTPFile.toFormattedString should print only signficant parts of the 
parsed date
More efficient implementation - only parse format string when it is set up
Ensure formats always set via private setter method
Clear all insignificant fields below the least significant parsed field

 FTPFile.toFormattedString should print only signficant parts of the parsed 
 date
 ---

 Key: NET-562
 URL: https://issues.apache.org/jira/browse/NET-562
 Project: Commons Net
  Issue Type: Improvement
Reporter: Sebb

 It would be useful if FTPFile.toFormattedString printed the signficant parts 
 of the parsed date.
 i.e. if the returned date includes seconds and milliseconds, these should be 
 included, otherwise they should not be shown. Etc.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (NET-562) FTPFile.toFormattedString should print only signficant parts of the parsed date

2014-12-11 Thread Sebb (JIRA)

[ 
https://issues.apache.org/jira/browse/NET-562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14242804#comment-14242804
 ] 

Sebb commented on NET-562:
--

URL: http://svn.apache.org/r167
Log:
NET-562 FTPFile.toFormattedString should print only signficant parts of the 
parsed date
+set Calendar to indicate which parts are significant in Enterprise Parser

Modified:

commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/EnterpriseUnixFTPEntryParser.java

commons/proper/net/trunk/src/test/java/org/apache/commons/net/ftp/parser/EnterpriseUnixFTPEntryParserTest.java


 FTPFile.toFormattedString should print only signficant parts of the parsed 
 date
 ---

 Key: NET-562
 URL: https://issues.apache.org/jira/browse/NET-562
 Project: Commons Net
  Issue Type: Improvement
Reporter: Sebb

 It would be useful if FTPFile.toFormattedString printed the signficant parts 
 of the parsed date.
 i.e. if the returned date includes seconds and milliseconds, these should be 
 included, otherwise they should not be shown. Etc.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (NET-562) FTPFile.toFormattedString should print only signficant parts of the parsed date

2014-12-10 Thread Sebb (JIRA)

[ 
https://issues.apache.org/jira/browse/NET-562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14240963#comment-14240963
 ] 

Sebb commented on NET-562:
--

URL: http://svn.apache.org/r1644375
Log:
NET-562 FTPFile.toFormattedString should print only signficant parts of the 
parsed date
Part 1: detect which parts are present
TODO: set Calendar to indicate which parts are significant

Modified:
commons/proper/net/trunk/src/changes/changes.xml

commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPFile.java


 FTPFile.toFormattedString should print only signficant parts of the parsed 
 date
 ---

 Key: NET-562
 URL: https://issues.apache.org/jira/browse/NET-562
 Project: Commons Net
  Issue Type: Improvement
Reporter: Sebb

 It would be useful if FTPFile.toFormattedString printed the signficant parts 
 of the parsed date.
 i.e. if the returned date includes seconds and milliseconds, these should be 
 included, otherwise they should not be shown. Etc.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)