<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: DateFormatter parseDateString Replacement(</title>
	<atom:link href="http://flex2colombia.wordpress.com/2007/02/18/dateformatter-parsedatestring-replacement/feed/" rel="self" type="application/rss+xml" />
	<link>http://flex2colombia.wordpress.com/2007/02/18/dateformatter-parsedatestring-replacement/</link>
	<description>Developing RIA's with Flex2 in Colombia</description>
	<lastBuildDate>Thu, 05 Nov 2009 16:27:26 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: DIGITALUnderworld</title>
		<link>http://flex2colombia.wordpress.com/2007/02/18/dateformatter-parsedatestring-replacement/#comment-5298</link>
		<dc:creator>DIGITALUnderworld</dc:creator>
		<pubDate>Thu, 05 Nov 2009 16:27:26 +0000</pubDate>
		<guid isPermaLink="false">http://flex2colombia.wordpress.com/2007/02/18/dateformatter-parsedatestring-replacement/#comment-5298</guid>
		<description>Can this be used to localize the date? I have mt resource bundle setup to get the translations for Spanish, but not sure how to get the day/month through a date formatter.</description>
		<content:encoded><![CDATA[<p>Can this be used to localize the date? I have mt resource bundle setup to get the translations for Spanish, but not sure how to get the day/month through a date formatter.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rey Nacho Lives &#187; Blog Archive &#187; DateFormatter parseDateString workaround</title>
		<link>http://flex2colombia.wordpress.com/2007/02/18/dateformatter-parsedatestring-replacement/#comment-3258</link>
		<dc:creator>Rey Nacho Lives &#187; Blog Archive &#187; DateFormatter parseDateString workaround</dc:creator>
		<pubDate>Tue, 29 Jul 2008 18:41:50 +0000</pubDate>
		<guid isPermaLink="false">http://flex2colombia.wordpress.com/2007/02/18/dateformatter-parsedatestring-replacement/#comment-3258</guid>
		<description>[...] I ran into a situation recently which required me to parse a string into a Date object in Flex. After some searching I found that there&#8217;s a wonderful little method in the DateFormatter class called parseDateString. Unfortunately, that method is protected and I couldn&#8217;t gain access to it. Luckily, I came accross a blog post that provided a wonderful solution: http://flex2colombia.wordpress.com/2007/02/18/dateformatter-parsedatestring-replacement/ [...]</description>
		<content:encoded><![CDATA[<p>[...] I ran into a situation recently which required me to parse a string into a Date object in Flex. After some searching I found that there&#8217;s a wonderful little method in the DateFormatter class called parseDateString. Unfortunately, that method is protected and I couldn&#8217;t gain access to it. Luckily, I came accross a blog post that provided a wonderful solution: <a href="http://flex2colombia.wordpress.com/2007/02/18/dateformatter-parsedatestring-replacement/" rel="nofollow">http://flex2colombia.wordpress.com/2007/02/18/dateformatter-parsedatestring-replacement/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian</title>
		<link>http://flex2colombia.wordpress.com/2007/02/18/dateformatter-parsedatestring-replacement/#comment-3174</link>
		<dc:creator>Christian</dc:creator>
		<pubDate>Wed, 09 Jul 2008 11:15:15 +0000</pubDate>
		<guid isPermaLink="false">http://flex2colombia.wordpress.com/2007/02/18/dateformatter-parsedatestring-replacement/#comment-3174</guid>
		<description>This works for me and probably allow to use more formatting options:

var date : Date = new Date(new DateFormatter().format(&quot;01 Apr 08&quot;));</description>
		<content:encoded><![CDATA[<p>This works for me and probably allow to use more formatting options:</p>
<p>var date : Date = new Date(new DateFormatter().format(&#8220;01 Apr 08&#8243;));</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Deepak Bhatia</title>
		<link>http://flex2colombia.wordpress.com/2007/02/18/dateformatter-parsedatestring-replacement/#comment-2832</link>
		<dc:creator>Deepak Bhatia</dc:creator>
		<pubDate>Thu, 27 Mar 2008 15:24:36 +0000</pubDate>
		<guid isPermaLink="false">http://flex2colombia.wordpress.com/2007/02/18/dateformatter-parsedatestring-replacement/#comment-2832</guid>
		<description>Thanks. Nice way to handle.</description>
		<content:encoded><![CDATA[<p>Thanks. Nice way to handle.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ernest</title>
		<link>http://flex2colombia.wordpress.com/2007/02/18/dateformatter-parsedatestring-replacement/#comment-2693</link>
		<dc:creator>Ernest</dc:creator>
		<pubDate>Tue, 12 Feb 2008 21:49:06 +0000</pubDate>
		<guid isPermaLink="false">http://flex2colombia.wordpress.com/2007/02/18/dateformatter-parsedatestring-replacement/#comment-2693</guid>
		<description>Class mx.controls.DateField has a static function with signature

stringToDate(valueString:String,inputFormat:String):Date

It does not read time information though, but it works for me.</description>
		<content:encoded><![CDATA[<p>Class mx.controls.DateField has a static function with signature</p>
<p>stringToDate(valueString:String,inputFormat:String):Date</p>
<p>It does not read time information though, but it works for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dersteppenwolf</title>
		<link>http://flex2colombia.wordpress.com/2007/02/18/dateformatter-parsedatestring-replacement/#comment-1140</link>
		<dc:creator>dersteppenwolf</dc:creator>
		<pubDate>Thu, 06 Sep 2007 14:32:59 +0000</pubDate>
		<guid isPermaLink="false">http://flex2colombia.wordpress.com/2007/02/18/dateformatter-parsedatestring-replacement/#comment-1140</guid>
		<description>mmm extending DateFormatter 
nice trick :P</description>
		<content:encoded><![CDATA[<p>mmm extending DateFormatter<br />
nice trick <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: George Varro</title>
		<link>http://flex2colombia.wordpress.com/2007/02/18/dateformatter-parsedatestring-replacement/#comment-1139</link>
		<dc:creator>George Varro</dc:creator>
		<pubDate>Thu, 06 Sep 2007 14:20:48 +0000</pubDate>
		<guid isPermaLink="false">http://flex2colombia.wordpress.com/2007/02/18/dateformatter-parsedatestring-replacement/#comment-1139</guid>
		<description>If the parseDateString method is protected, make it to &quot;public&quot; with a little trick!

Make a new class with a public static method and in it you can invoke the parseDateString and it will return with a Date object!

package utils
{
  import mx.formatters.DateFormatter;
  public class DateUtil extends DateFormatter
  {
    public static function parseDate(str:String):Date {
      return parseDateString(str);
    }
  }
}

Notice:
And with this class the &quot;but never by a dash (-)&quot; limitation is gone forever!

regards,
George</description>
		<content:encoded><![CDATA[<p>If the parseDateString method is protected, make it to &#8220;public&#8221; with a little trick!</p>
<p>Make a new class with a public static method and in it you can invoke the parseDateString and it will return with a Date object!</p>
<p>package utils<br />
{<br />
  import mx.formatters.DateFormatter;<br />
  public class DateUtil extends DateFormatter<br />
  {<br />
    public static function parseDate(str:String):Date {<br />
      return parseDateString(str);<br />
    }<br />
  }<br />
}</p>
<p>Notice:<br />
And with this class the &#8220;but never by a dash (-)&#8221; limitation is gone forever!</p>
<p>regards,<br />
George</p>
]]></content:encoded>
	</item>
</channel>
</rss>
