Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Obligation des périodes, des jours de la semaine, des jours (exclus ou inclus) dans les calendriers #58

Open
albanpeignier opened this issue Jan 23, 2024 · 0 comments
Labels

Comments

@albanpeignier
Copy link
Collaborator

Le profil NeTEx France met en avant l'utilisation des UicOperatingPeriod:

image

En revanche, le profil ne précise pas:

  • s'il est obligatoire de conserver la définition des périodes, des jours de la semaine, des jours exclus ou inclus auquels l'attibut ValidDayBits s'ajoute
  • ou si les UicOperatingPeriods peuvent être utilisés seuls.

Exemple avec description complète

<DayType id="daytype-1">
  <Name>Sample</Name>
  <properties>
    <PropertyOfDay>
      <DaysOfWeek>Tuesday Friday</DaysOfWeek>
    </PropertyOfDay>
  </properties>
</DayType>

<DayTypeAssignment id="assigment-1">
  <OperatingPeriodRef ref="period-1"/>
  <DayTypeRef ref="daytype-1"/>
</DayTypeAssignment>

<DayTypeAssignment id="assigment-2">
  <Date>2030-01-15</Date>
  <DayTypeRef ref="daytype-1"/>
  <isAvailable>true</isAvailable>
</DayTypeAssignment>

<UicOperatingPeriod id="period-1">
  <FromDate>2030-01-01T00:00:00</FromDate>
  <ToDate>2030-01-10T00:00:00</ToDate>
  <ValidDayBits>1001....</ValidDayBits>
</OperatingPeriod>

Exemple avec UicOperatingPeriod seul

<DayType id="daytype-1">
  <Name>Sample</Name>
</DayType>

<DayTypeAssignment id="assigment-1">
  <OperatingPeriodRef ref="period-1"/>
  <DayTypeRef ref="daytype-1"/>
</DayTypeAssignment>

<UicOperatingPeriod id="period-1">
  <FromDate>2030-01-01T00:00:00</FromDate>
  <ValidDayBits>1001....</ValidDayBits>
</OperatingPeriod>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant