Try to use the C backend to cross-compile your application. It is possible
that there is a native method is missing somewhere, but that should be easy
to fix.
Arno
On Jun 22, 2011, at 4:54 PM, Steven Atkinson <ste...@gm...>
wrote:
Hi,
I am trying to parse some modified dates of files but I am running into a
few problems.
Below is the structure I have used to parse the date string from an FTP
callback to a Date type in order to compare it with a file on the device:
class FileWithDate {
public final String fileName;
public final Date fileDate;
public FileWithDate(String fileName, String fileDate){
Date parsedDate = null;
try
{
DateFormat formatter = new SimpleDateFormat("MMM dd HH:mm");
parsedDate = (Date)formatter.parse(fileDate);
}
catch (Exception e)
{
Logging.Error(e);
}
this.fileName = fileName;
this.fileDate = parsedDate;
}
}
Is there anything in the NSDate type I can use to parse a string to a date?
Whenever I try to compile the code above on XCode it fails to build as it
can't find the files. I guess this has not been written yet?
Would be greatful for any help :)
Steve
------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
xmlvm-users mailing list
xml...@li...
https://lists.sourceforge.net/lists/listinfo/xmlvm-users
|