Skip to content

Commit

Permalink
docs: fixed broken pages in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
khawarizmus committed Apr 9, 2024
1 parent d52d720 commit 253cc01
Showing 1 changed file with 9 additions and 41 deletions.
50 changes: 9 additions & 41 deletions docs/primitives/conversion.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,72 +3,40 @@ import PropertiesDefinition from "../components/PropertiesDefinitions.vue"
</script>

# Conversions

<!-- TODO: replace all the references with their proper type and update the PropertyDefinition logic if needed -->
# ISO Week Date

## `temporalInstantFromISOWeek`

<PropertiesDefinition property="temporalInstantFromISOWeek(
year: number,
week: number,
day: number = MIN_DAY,
weekStartDay = ISOWeekDays.Monday,
reference?: {
referenceTime?: Temporal.PlainDateTime | Temporal.ZonedDateTime | Temporal.PlainTime
referenceTimezone?: Temporal.TimeZoneLike
},
): Temporal.Instant" />
<PropertiesDefinition property="temporalInstantFromISOWeek(year: number, week: number, day: number = MIN_DAY, weekStartDay: ISOWeekDays = ISOWeekDays.Monday, reference?: Reference): Temporal.Instant" />

## `temporalInstantFromISOWeekString`

<PropertiesDefinition property="temporalInstantFromISOWeekString(isoWeekDate: string, reference?: {
referenceTime?: Temporal.PlainDateTime | Temporal.ZonedDateTime | Temporal.PlainTime
referenceTimezone?: Temporal.TimeZoneLike
}): Temporal.Instant" />
<PropertiesDefinition property="temporalInstantFromISOWeekString(isoWeekDate: string, reference?: Reference): Temporal.Instant" />


## `temporalToISOPlainDateWeek`

<PropertiesDefinition property="temporalToISOPlainDateWeek(
date: Temporal.ZonedDateTime | Temporal.PlainDate | Temporal.PlainDateTime,
weekStartDay = ISOWeekDays.Monday,
): PlainWeekDate" />
<PropertiesDefinition property="temporalToISOPlainDateWeek(date: Temporal.ZonedDateTime | Temporal.PlainDate | Temporal.PlainDateTime, weekStartDay: ISOWeekDays = ISOWeekDays.Monday): PlainWeekDate" />

## `weeksInISOYear`

<PropertiesDefinition property="weeksInISOYear(year: number, weekStartDay = ISOWeekDays.Monday): number" />
<PropertiesDefinition property="weeksInISOYear(year: number, weekStartDay: ISOWeekDays = ISOWeekDays.Monday): number" />

# Hijri Week Date

## `temporalInstantFromHWCDate`

<PropertiesDefinition property="temporalInstantFromHWCDate(
yearOfWeek: number,
weekOfYear: number,
dayOfWeek: number = MIN_DAY,
calendar: SupportedHijriCalendars = 'islamic-umalqura',
weekStartDay = HWCWeekDays.Saturday,
reference?: {
referenceTime?: Temporal.PlainDateTime | Temporal.ZonedDateTime | Temporal.PlainTime
referenceTimezone?: Temporal.TimeZoneLike
},
): Temporal.Instant" />
<PropertiesDefinition property="temporalInstantFromHWCDate(yearOfWeek: number, weekOfYear: number, dayOfWeek: number = MIN_DAY, calendar: SupportedHijriCalendars = 'islamic-umalqura', weekStartDay: HWCWeekDays = HWCWeekDays.Saturday, reference?: Reference): Temporal.Instant" />

## `temporalInstantFromHWCWeekString`

<PropertiesDefinition property="temporalInstantFromHWCWeekString(isoWeekDate: string, reference?: {
referenceTime?: Temporal.PlainDateTime | Temporal.ZonedDateTime | Temporal.PlainTime
referenceTimezone?: Temporal.TimeZoneLike
referenceCalendar?: SupportedHijriCalendars
}): Temporal.Instant" />
<PropertiesDefinition property="temporalInstantFromHWCWeekString(isoWeekDate: string, reference?: Reference): Temporal.Instant" />

## `temporalToHWCPlainDateWeek`

<PropertiesDefinition property="temporalToHWCPlainDateWeek(
date: Temporal.ZonedDateTime | Temporal.PlainDate | Temporal.PlainDateTime,
weekStartDay = HWCWeekDays.Saturday,
): PlainWeekDate" />
<PropertiesDefinition property="temporalToHWCPlainDateWeek(date: Temporal.ZonedDateTime | Temporal.PlainDate | Temporal.PlainDateTime, weekStartDay: HWCWeekDays = HWCWeekDays.Saturday): PlainWeekDate" />

## `weeksInHijriYear`

<PropertiesDefinition property="weeksInHijriYear(year: number, calendar: SupportedHijriCalendars = 'islamic-umalqura', weekStartDay = HWCWeekDays.Saturday): number" />
<PropertiesDefinition property="weeksInHijriYear(year: number, calendar: SupportedHijriCalendars = 'islamic-umalqura', weekStartDay: HWCWeekDays = HWCWeekDays.Saturday): number" />

0 comments on commit 253cc01

Please sign in to comment.