-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathField008.cs
55 lines (47 loc) · 1.4 KB
/
Field008.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
using System;
using System.Collections.Generic;
using System.Text;
namespace MarcNet
{
class Field008
{
char[] _buff = new char[40];
// 00-05 Format: yymmdd
string _dateOfCreation;
/// <summary>
/// 06: Type of Publication date
/// s: single year; date1: 4 digit year, date2: blank
/// m: multiple years; date1: beginning, date2: ending
/// r: reprint & original; date1: reprint, date2: original
/// c: current periodical date1: beginning, date2: "9999"
/// d: dead periodical date1: beginning, date2: ending
/// " "
/// </summary>
char _typeOfPulibcationDate;
/// <summary>
/// 07 -10: 4 digit year
/// </summary>
string _date1;
/// <summary>
/// 11-14: 4 digit year
/// </summary>
string _date2;
/// <summary>
/// 15-17: Country of Publication Code
/// default: onc (Ontario)
/// </summary>
string _countryOfPublicationCode;
/// <summary>
/// 35-37: Language of publication code
/// default: eng (English)
/// </summary>
string _languageOfPublicationCode;
public Field008()
{
for (int i = 0; i < 40; i++)
{
_buff[i] = ' ';
}
}
}
}