|
Enhanced C#
Loyc library documentation
|
Synchronizes date/time values as integers: DateTime as the 64-bit value of DateTime.ToBinary (which equals Ticks when the DateTimeKind is Unspecified, and preserves the Kind otherwise), TimeSpan as TimeSpan.Ticks, and DateTimeOffset — the one type here that does not fit in 64 bits — as a tuple of two integers: Ticks, and the UTC offset in minutes. More...
Synchronizes date/time values as integers: DateTime as the 64-bit value of DateTime.ToBinary (which equals Ticks when the DateTimeKind is Unspecified, and preserves the Kind otherwise), TimeSpan as TimeSpan.Ticks, and DateTimeOffset — the one type here that does not fit in 64 bits — as a tuple of two integers: Ticks, and the UTC offset in minutes.
| SM | : | ISyncManager |
Public fields | |
| const int | TicksPerMinute = 60_000_000_0 |
Public Member Functions | |
| DateTime | Sync (ref SM sync, FieldId name, DateTime value) |
| DateTime | Sync (ref SM sync, FieldId name, DateTime?value) |
| DateTimeOffset | Sync (ref SM sm, FieldId name, DateTimeOffset value) |
| DateTimeOffset | Sync (ref SM sm, FieldId name, DateTimeOffset?value) |
| TimeSpan | Sync (ref SM sync, FieldId name, TimeSpan value) |
| TimeSpan | Sync (ref SM sync, FieldId name, TimeSpan?value) |
Public Member Functions inherited from Loyc.SyncLib.ISyncField< SyncManager, T > | |
| T | Sync (ref SyncManager sync, FieldId name, T?value) |
1.8.7