Skip to content

Commit 37ecc70

Browse files
committed
Add static helpers for parsing DateTime and Guid's
1 parent e36c382 commit 37ecc70

File tree

7 files changed

+38
-2
lines changed

7 files changed

+38
-2
lines changed
0 Bytes
Binary file not shown.

src/AndroidClient/.idea/modules/android/AndroidClient.android.iml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/AndroidClient/.idea/modules/client/AndroidClient.client.iml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
package net.servicestack.client;
2+
3+
import java.util.Date;
4+
5+
public class DateTime {
6+
public static Date parse(String date) {
7+
return Utils.parseDate(date);
8+
}
9+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
package net.servicestack.client;
2+
3+
import java.util.UUID;
4+
5+
public class Guid {
6+
public static UUID parse(String guid) {
7+
return Utils.fromGuidString(guid);
8+
}
9+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
package net.servicestack.client;
2+
3+
import java.util.Date;
4+
5+
public class DateTime {
6+
public static Date parse(String date) {
7+
return Utils.parseDate(date);
8+
}
9+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
package net.servicestack.client;
2+
3+
import java.util.UUID;
4+
5+
public class Guid {
6+
public static UUID parse(String guid) {
7+
return Utils.fromGuidString(guid);
8+
}
9+
}

0 commit comments

Comments
 (0)