<?xml version="1.0"?>
<!--
@author Last Changed:$Author: lenz $
@version $Revision: 5199 $
@date $Date: 2010-10-22 08:16:16 +0200 (Fr, 22 Okt 2010) $
-->
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://schema.infor.com/InforOAGIS/2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <!---->
    <!-- imports -->
    <xsl:import href="includes/fields/TimePeriod.xsl" xml:base="../../"/>
    <!---->
    <!-- template to insert -->
    <xsl:template name="EffectiveTimePeriod">
        <!---->
        <!-- parameter -->
        <xsl:param name="name"/>
        <xsl:param name="fromDate"/>
        <xsl:param name="fromTime"/>
        <xsl:param name="toDate"/>
        <xsl:param name="toTime"/>
        <xsl:param name="duration"/>
        <!---->
        <!-- TimePeriod -->
        <xsl:call-template name="TimePeriod">
            <xsl:with-param name="name">
                <xsl:value-of select="'EffectiveTimePeriod'"/>
            </xsl:with-param>
            <xsl:with-param name="fromDate">
                <xsl:value-of select="$fromDate"/>
            </xsl:with-param>
            <xsl:with-param name="fromTime">
                <xsl:value-of select="$fromTime"/>
            </xsl:with-param>
            <xsl:with-param name="toDate">
                <xsl:value-of select="$toDate"/>
            </xsl:with-param>
            <xsl:with-param name="toTime">
                <xsl:value-of select="$toTime"/>
            </xsl:with-param>
            <xsl:with-param name="duration">
                <xsl:value-of select="$duration"/>
            </xsl:with-param>
        </xsl:call-template>
    </xsl:template>
</xsl:stylesheet>
