<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to apply a timezone to ISO8601 strings for Timers in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-apply-a-timezone-to-iso8601-strings-for-timers/m-p/213738#M166868</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Not 100% following: are we talking here about the activiti:dueDate construct or the .setDueDate() api call?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Apr 2016 11:58:09 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2016-04-26T11:58:09Z</dc:date>
    <item>
      <title>How to apply a timezone to ISO8601 strings for Timers</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-apply-a-timezone-to-iso8601-strings-for-timers/m-p/213735#M166865</link>
      <description>I would like to make use of timezones in the ISO8601 strings used for Timer objects. This is to stop us converting timezones to the one used by the JVM(Which i believe is the one Activiti uses for its dates and times).How can I use an ISO8601 string with timezone which can then be evaluated by an Ac</description>
      <pubDate>Thu, 21 Apr 2016 16:14:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-apply-a-timezone-to-iso8601-strings-for-timers/m-p/213735#M166865</guid>
      <dc:creator>zlatan316</dc:creator>
      <dc:date>2016-04-21T16:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to apply a timezone to ISO8601 strings for Timers</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-apply-a-timezone-to-iso8601-strings-for-timers/m-p/213736#M166866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Which kind of timer are you referring to here? A due date, duration or time cycle definition?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the due date logic we currently use DateTime.parse(dueDateString).toDate() to resolve the due date.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is that not working for you? Could you share a unit test showing the issue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2016 08:51:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-apply-a-timezone-to-iso8601-strings-for-timers/m-p/213736#M166866</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2016-04-25T08:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to apply a timezone to ISO8601 strings for Timers</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-apply-a-timezone-to-iso8601-strings-for-timers/m-p/213737#M166867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I would need to for the Due Date, where I would like to pass an ISO8601 String&amp;nbsp; such as 2016-03-04T10:00:00 but with a timezone attached. I'm handling the format of the string using a SimpleDateFormat instance of "yyyy-MM-dd'T'HH:mm:ss".&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2016 09:42:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-apply-a-timezone-to-iso8601-strings-for-timers/m-p/213737#M166867</guid>
      <dc:creator>zlatan316</dc:creator>
      <dc:date>2016-04-25T09:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to apply a timezone to ISO8601 strings for Timers</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-apply-a-timezone-to-iso8601-strings-for-timers/m-p/213738#M166868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Not 100% following: are we talking here about the activiti:dueDate construct or the .setDueDate() api call?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 11:58:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-apply-a-timezone-to-iso8601-strings-for-timers/m-p/213738#M166868</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-04-26T11:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to apply a timezone to ISO8601 strings for Timers</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-apply-a-timezone-to-iso8601-strings-for-timers/m-p/213739#M166869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is for the activiti:dueDate construct.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 07:51:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-apply-a-timezone-to-iso8601-strings-for-timers/m-p/213739#M166869</guid>
      <dc:creator>zlatan316</dc:creator>
      <dc:date>2016-04-27T07:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to apply a timezone to ISO8601 strings for Timers</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-apply-a-timezone-to-iso8601-strings-for-timers/m-p/213740#M166870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ok, so the duedate is parsed here: &lt;/SPAN&gt;&lt;A href="https://github.com/Activiti/Activiti/blob/master/modules/activiti-engine/src/main/java/org/activiti/engine/impl/bpmn/behavior/UserTaskActivityBehavior.java#L149" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/blob/master/modules/activiti-engine/src/main/java/org/activiti/engine/impl/bpmn/behavior/UserTaskActivityBehavior.java#L149&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Which delegates to &lt;/SPAN&gt;&lt;A href="https://github.com/Activiti/Activiti/blob/master/modules/activiti-engine/src/main/java/org/activiti/engine/impl/calendar/DueDateBusinessCalendar.java#L39" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/blob/master/modules/activiti-engine/src/main/java/org/activiti/engine/impl/calendar/DueDateBusinessCalendar.java#L39&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;which uses JodaTime's parsing : &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; return DateTime.parse(duedate).toDate();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and should be ISO8601 compliant … &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 11:47:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-apply-a-timezone-to-iso8601-strings-for-timers/m-p/213740#M166870</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-05-03T11:47:47Z</dc:date>
    </item>
  </channel>
</rss>

