/// <summary>
 /// Set Timestamp field
 /// Units: s
 /// Comment: Whole second part of the timestamp</summary>
 /// <param name="timestamp_">Nullable field value to be set</param>
 public void SetTimestamp(DateTime timestamp_)
 {
     SetFieldValue(253, 0, timestamp_.GetTimeStamp(), Fit.SubfieldIndexMainField);
 }
 /// <summary>
 /// Set TimeCreated field
 /// Comment: Only set for files that are can be created/erased.</summary>
 /// <param name="timeCreated_">Nullable field value to be set</param>
 public void SetTimeCreated(DateTime timeCreated_)
 {
     SetFieldValue(4, 0, timeCreated_.GetTimeStamp(), Fit.SubfieldIndexMainField);
 }
 /// <summary>
 /// Set StartTime field</summary>
 /// <param name="startTime_">Nullable field value to be set</param>
 public void SetStartTime(DateTime startTime_)
 {
     SetFieldValue(2, 0, startTime_.GetTimeStamp(), Fit.SubfieldIndexMainField);
 }
 public bool Equals(DateTime dateTime)
 {
     return (this.GetTimeStamp().Equals(dateTime.GetTimeStamp()) && (this.GetFractionalTimeStamp().Equals(dateTime.GetFractionalTimeStamp())));
 }
 /// <summary>
 /// Set EndTimestamp field</summary>
 /// <param name="endTimestamp_">Nullable field value to be set</param>
 public void SetEndTimestamp(DateTime endTimestamp_)
 {
     SetFieldValue(3, 0, endTimestamp_.GetTimeStamp(), Fit.SubfieldIndexMainField);
 }
 /// <summary>
 /// Set Timestamp field</summary>
 /// <param name="timestamp_">Nullable field value to be set</param>
 public void SetTimestamp(DateTime timestamp_)
 {
     SetFieldValue(253, 0, timestamp_.GetTimeStamp(), Fit.SubfieldIndexMainField);
 }
 /// <summary>
 /// Set StartTime field</summary>
 /// <param name="startTime_">Nullable field value to be set</param>
 public void SetStartTime(DateTime startTime_)
 {
     SetFieldValue(2, 0, startTime_.GetTimeStamp(), Fit.SubfieldIndexMainField);
 }
 /// <summary>
 /// Set EndTimestamp field</summary>
 /// <param name="endTimestamp_">Nullable field value to be set</param>
 public void SetEndTimestamp(DateTime endTimestamp_)
 {
     SetFieldValue(3, 0, endTimestamp_.GetTimeStamp(), Fit.SubfieldIndexMainField);
 }
Example #9
0
 /// <summary>
 /// Set TimeCreated field</summary>
 /// <param name="timeCreated_">Nullable field value to be set</param>
 public void SetTimeCreated(DateTime timeCreated_)
 {
     SetFieldValue(4, 0, timeCreated_.GetTimeStamp(), Fit.SubfieldIndexMainField);
 }
 /// <summary>
 /// Set SystemTimestamp field
 /// Units: s
 /// Comment: Whole second part of the system timestamp</summary>
 /// <param name="systemTimestamp_">Nullable field value to be set</param>
 public void SetSystemTimestamp(DateTime systemTimestamp_)
 {
     SetFieldValue(1, 0, systemTimestamp_.GetTimeStamp(), Fit.SubfieldIndexMainField);
 }