import {PadPrinterParserDecorator} from 'js-joda/src/format/parser/PadPrinterParserDecorator.js'
PadPrinterParserDecorator
Pads the output to a fixed width.
Constructor Summary
Public Constructor | ||
public |
constructor(printerParser: *, padWidth: *, padChar: *) Constructor. |
Method Summary
Public Methods | ||
public |
parse(context: *, text: *, position: *): * |
|
public |
|
|
public |
|
Public Constructors
public constructor(printerParser: *, padWidth: *, padChar: *) source
Constructor.
Params:
Name | Type | Attribute | Description |
printerParser | * | the printer, not null |
|
padWidth | * | the width to pad to, 1 or greater |
|
padChar | * | the pad character |