Commit Graph

16 Commits

Author SHA1 Message Date
John Beisley
01b23aa7e6 Replace Fixed14_4Float with a integer version.
This type avoids loss of precision, and is likely what was
intended by having 14.4 fixed point.

Conversions to/from float64 are provided.
2022-03-24 19:46:39 +00:00
John Beisley
688314d831 Create v2/soap/types, refactored from v1. 2022-03-24 19:46:39 +00:00
John Beisley
ab6e83ae0a Create v2 module as subdirectory. 2022-03-24 19:46:39 +00:00
John Beisley
7ef673455a v2/soap/envelope - tidy and improve tests. 2022-03-24 19:46:39 +00:00
John Beisley
577aa76695 First draft of v2/soap/envelope package. 2022-03-24 19:46:39 +00:00
John Beisley
fcd69d183b FIx zero padding on years. 2022-03-24 19:46:39 +00:00
John Beisley
cc93611581 Fix max range on Fixed14_4.SetParts. 2022-03-24 19:46:39 +00:00
John Beisley
e043d6666b Implement error-free marshalText methods. 2022-03-24 19:46:39 +00:00
John Beisley
6183f45568 SOAP types now implement more standard interfaces.
Specifically TextMarshaler and TextUnmarshaller. These adapt better to
use in xml/encoding.
2022-03-24 19:46:39 +00:00
John Beisley
0668181616 Remove separate module for v2. 2022-03-24 19:46:39 +00:00
John Beisley
0f6ea5004c Complete move to naive date/time types.
These types no longer assume the local timezone as a default, instead
accepting a time.Location when converting to a time.Time.
2022-03-24 19:46:39 +00:00
John Beisley
500ae47278 Refactor Date type for reuse in other types' Unmarshal. 2022-03-24 19:46:39 +00:00
John Beisley
7913f413b8 Remove DateLocal.
Fix tests to check Date type.
2022-03-24 19:46:39 +00:00
John Beisley
2186162cd7 Replace Fixed14_4Float with a integer version.
This type avoids loss of precision, and is likely what was
intended by having 14.4 fixed point.

Conversions to/from float64 are provided.
2022-03-24 19:46:39 +00:00
John Beisley
47e825446b Create v2/soap/types, refactored from v1. 2022-03-24 19:46:39 +00:00
John Beisley
0926402f8c Create v2 module as subdirectory. 2022-03-24 19:46:39 +00:00