Ticket #59 (assigned enhancement)

Opened 4 years ago

Last modified 4 years ago

Support xsd:dayTimeDuration function.

Reported by: psmeros Owned by: mple
Priority: major Milestone: Strabon v3.2.11
Component: evaluation Version:
Keywords: Cc:


Requested from LEO and Prod-Trees partner Bernard Valentin.

Text from Strabon-users list:

My immediate problem is the following: I have one xsd:dateTime property that I need
to convert into a period starting x days before and ending y days after the property value.

I imagine I should be able to do something like this:

bind( xsd:dateTime("2010-01-12T11:12:00") - xsd:dayTimeDuration("P2D") as ?dateStart )
bind( xsd:dateTime("2010-01-12T11:12:00") + xsd:dayTimeDuration("P7D") as ?dateEnd )
bind( strdf:period(?dateStart, ?dateEnd) as ?datePeriod )

Strabon tells me that "http://www.w3.org/2001/XMLSchema#dayTimeDuration" is not supported.
I have tried with xsd:dayTimeDuration, xsd:duration, strdf:dayTimeDuration and strdf:duration.

Change History

comment:1 Changed 4 years ago by psmeros

  • Milestone changed from Strabon v3.3 to Strabon v3.2.10

comment:2 Changed 4 years ago by psmeros

  • Owner changed from pyravlos-team to mple
  • Status changed from new to assigned
Note: See TracTickets for help on using tickets.