export class Cookie { public expiration = '0' ; public zuid = '' ; constructor ( zuid , expiration ) { this . expiration = expiration ; this . zuid = zuid ; } public get isExpired ( ) : boolean { return new Date ( ) > new Date ( this . expiration ) ; } }