Class TxDate
the custom Date type that represents dates found in resumes/jobs. The following are common examples:
- Current, as in "July 2018 - current". See IsCurrentDate
- Year only, as in "2018 - 2020". FoundYear will be true,
FoundMonth and FoundDay will be false
- Year and month, as in "2018/06 - 2020/07". FoundYear and FoundMonth will be true,
FoundDay will be false
- Year/month/day, as in "5/4/2018 - 7/2/2020". FoundYear, FoundMonth,
and FoundDay will be true
Inheritance
Inherited Members
Namespace: Textkernel.Tx.Models
Assembly: Textkernel.Tx.SDK.dll
Syntax
public class TxDate
Properties
| Improve this Doc View SourceDate
The ISO 8601 (yyyy-MM-dd) date, if the day and/or month could not be found, they will be 01
Declaration
public DateTime Date { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
FoundDay
true if the day was found in the text (eg: June 7, 2020), otherwise false (eg: June 2020)
Declaration
public bool FoundDay { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
FoundMonth
true if the month was found in the text (eg: June 2020), otherwise false (eg: 2020)
Declaration
public bool FoundMonth { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
FoundYear
true if the year was found in the text, otherwise false
Declaration
public bool FoundYear { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsCurrentDate
true if this date represents '- current' and not an actual date
Declaration
public bool IsCurrentDate { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |