DatePipe

ClassStability: Stable

Class Overview

class DatePipe {
constructor(_locale: string)

transform(value: any, pattern?: string) : string
supports(obj: any) : boolean

}

Class Description

Class Export

export class DatePipe

Annotations

@Pipe({name: 'date', pure: true})

Constructor

constructor(_locale: string)

Class Details

exported from @angular/common/index defined in @angular/common/src/pipes/date_pipe.ts (line 14)