Skip to content

Commit

Permalink
Try 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
sebbASF committed May 6, 2024
1 parent 2490f1a commit 01d1f94
Showing 1 changed file with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
package org.apache.commons.net.ftp.parser;


import java.text.ParseException;
import java.util.Calendar;
import java.util.Locale;
import java.util.TimeZone;

/**
* Test NET710
*/
public class FTPTimestampNET710Test {

public static void main(String [] args) throws ParseException {
Calendar serverTime = Calendar.getInstance(TimeZone.getTimeZone("EDT"), Locale.US);
serverTime.set(2022, 2, 16, 14, 0);
Calendar p = new FTPTimestampParserImpl().parseTimestamp("Mar 13 02:33", serverTime);
System.out.println(p);
}

}

0 comments on commit 01d1f94

Please sign in to comment.