Skip to content

Commit

Permalink
chore: added license header
Browse files Browse the repository at this point in the history
  • Loading branch information
khawarizmus committed Jan 9, 2024
1 parent 3f5c994 commit c6bf4c7
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/calendars/HWCCivil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,21 @@ import { hijriDayOfWeek as _hijriDayOfWeek, toHWCDate, totalHWCWeeks } from '..'
import type { SupportedHijriCalendars } from '../types'
import { HWCRepresentation } from '../core/representation'

////////////////////////////////////////////////////////////////////////
// //
// Hijri-Week Calendar Islamic Civil //
// //
// Custom Temporal Calendar //
// //
////////////////////////////////////////////////////////////////////////

/*
* @inspired by : Mohsen Alyafei (https://github.com/MohsenAlyafei)
* @author : khawarizmus (https://github.com/khawarizmus)
* @Licence : MIT
* @date : 9 Jan 2024 (27-06-1445 AH) (HWC Date: 1445-W25-4) (Civil Islamic Calendar)
*/

export class HWCCivil extends Temporal.Calendar {
readonly id: string
readonly superId: SupportedHijriCalendars
Expand Down
15 changes: 15 additions & 0 deletions src/calendars/HWCTbla.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,21 @@ import { hijriDayOfWeek as _hijriDayOfWeek, toHWCDate, totalHWCWeeks } from '..'
import type { SupportedHijriCalendars } from '../types'
import { HWCRepresentation } from '../core/representation'

////////////////////////////////////////////////////////////////////////
// //
// Hijri-Week Calendar Tabular Islamic Calendar //
// //
// Custom Temporal Calendar //
// //
////////////////////////////////////////////////////////////////////////

/*
* @inspired by : Mohsen Alyafei (https://github.com/MohsenAlyafei)
* @author : khawarizmus (https://github.com/khawarizmus)
* @Licence : MIT
* @date : 9 Jan 2024 (28-06-1445 AH) (HWC Date: 1445-W26-4) (Tabular Islamic Calendar)
*/

export class HWCTbla extends Temporal.Calendar {
readonly id: string
readonly superId: SupportedHijriCalendars
Expand Down
15 changes: 15 additions & 0 deletions src/calendars/HWCUmulqura.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,21 @@ import { hijriDayOfWeek as _hijriDayOfWeek, toHWCDate, totalHWCWeeks } from '..'
import type { SupportedHijriCalendars } from '../types'
import { HWCRepresentation } from '../core/representation'

////////////////////////////////////////////////////////////////////////
// //
// Hijri-Week Calendar Umm Al-Qura //
// //
// Custom Temporal Calendar //
// //
////////////////////////////////////////////////////////////////////////

/*
* @inspired by : Mohsen Alyafei (https://github.com/MohsenAlyafei)
* @author : khawarizmus (https://github.com/khawarizmus)
* @Licence : MIT
* @date : 9 Jan 2024 (27-06-1445 AH) (HWC Date: 1445-W25-4) (Umm Al-Qura Date)
*/

export class HWCUmalqura extends Temporal.Calendar {
readonly id: string
readonly superId: SupportedHijriCalendars
Expand Down

0 comments on commit c6bf4c7

Please sign in to comment.