mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2024-12-22 23:29:34 +00:00
Incorporated fix from John Matthews for date format in
getFileColumnData.
This commit is contained in:
parent
513627cc95
commit
4cdb446f41
@ -19,7 +19,7 @@
|
|||||||
*/
|
*/
|
||||||
package com.webcodepro.applecommander.storage;
|
package com.webcodepro.applecommander.storage;
|
||||||
|
|
||||||
import com.webcodepro.applecommander.util.*;
|
import com.webcodepro.applecommander.util.AppleUtil;
|
||||||
|
|
||||||
import java.text.NumberFormat;
|
import java.text.NumberFormat;
|
||||||
import java.text.SimpleDateFormat;
|
import java.text.SimpleDateFormat;
|
||||||
@ -31,7 +31,7 @@ import java.util.List;
|
|||||||
* Represents a Pascal file entry on disk.
|
* Represents a Pascal file entry on disk.
|
||||||
* <p>
|
* <p>
|
||||||
* Date created: Oct 5, 2002 12:22:34 AM
|
* Date created: Oct 5, 2002 12:22:34 AM
|
||||||
* @author: Rob Greene
|
* @author Rob Greene
|
||||||
*/
|
*/
|
||||||
public class PascalFileEntry implements FileEntry {
|
public class PascalFileEntry implements FileEntry {
|
||||||
private byte[] fileEntry;
|
private byte[] fileEntry;
|
||||||
@ -181,7 +181,7 @@ public class PascalFileEntry implements FileEntry {
|
|||||||
*/
|
*/
|
||||||
public List getFileColumnData(int displayMode) {
|
public List getFileColumnData(int displayMode) {
|
||||||
NumberFormat numberFormat = NumberFormat.getNumberInstance();
|
NumberFormat numberFormat = NumberFormat.getNumberInstance();
|
||||||
SimpleDateFormat dateFormat = new SimpleDateFormat("MM/dd/yy");
|
SimpleDateFormat dateFormat = new SimpleDateFormat("dd-MMM-yy");
|
||||||
|
|
||||||
List list = new ArrayList();
|
List list = new ArrayList();
|
||||||
switch (displayMode) {
|
switch (displayMode) {
|
||||||
|
Loading…
Reference in New Issue
Block a user