A small helper class to bridge dates between C# and Objective-C.
|
|
static string | dateBridgeFormat = "yyyy-MM-ddTHH:mm:ss" |
| | all timestamps from Objective-C should be in this format."
|
| |
|
| static string | DateToString (DateTimeOffset date) |
| | Convert a DateTimeOffset to a string datestamp to be passed to Objective-C.
|
| |
| static DateTimeOffset | DateFromString (string stamp) |
| | Convert a string timestamp from Objective-C to a DateTimeOffset.
|
| |
◆ DateFromString()
| static DateTimeOffset BeliefEngine.HealthKit.DateTimeBridge.DateFromString |
( |
string | stamp | ) |
|
|
inlinestatic |
- Parameters
-
| stamp | the timestamp to convert. |
◆ DateToString()
| static string BeliefEngine.HealthKit.DateTimeBridge.DateToString |
( |
DateTimeOffset | date | ) |
|
|
inlinestatic |