BibTeX MONTH import class

BibTeX month field can come in as: jan "8~" # jan jan#"~8"

where # is concatenation and '~' can be any non-numeric character. The number must be extracted for use in the WIKINDX 'day' field.

Entries of type jun # "-" # aug are reduced to just the first month.

version 1
package wikindx4\core\importexport
author Mark Grimshaw

 Methods

BIBTEXMONTHPARSE

__construct() 

Start the process

init(string $monthField) : array

Parameters

$monthField

string

Returns

array(startMonth, startDay, endMonth, endDay)

extract day of month from field

parseDay(string $dayField) 

Parameters

$dayField

string

 Properties

 

$endDay 
 

$startDay