Liking cljdoc? Tell your friends :D

tupelo.tagstr


Date-encodeclj

(Date-encode date)

Inputs: [date :- java.util.Date] Returns: s/Str

Encodes a java.util.Date object into a tagstr like <#java.util.Date 1999-12-31T01:02:03.456Z>

Inputs: [date :- java.util.Date]
Returns: s/Str

Encodes a java.util.Date object into a tagstr like `<#java.util.Date 1999-12-31T01:02:03.456Z>`
sourceraw docstring

Date-parseclj

(Date-parse s)

Inputs: [s :- s/Str] Returns: java.util.Date

Decodes a tagstr like <#java.util.Date 1999-12-31T01:02:03.456Z> into a java.util.Date object

Inputs: [s :- s/Str]
Returns: java.util.Date

Decodes a tagstr like `<#java.util.Date 1999-12-31T01:02:03.456Z>` into a java.util.Date object
sourceraw docstring

extract-data-strclj

(extract-data-str s)

Inputs: [s :- s/Str] Returns: s/Str

Given a tagstr like <#java.util.Date 1999-12-31T01:02:03.456Z>, returns the data str 1999-12-31T01:02:03.456Z

Inputs: [s :- s/Str]
Returns: s/Str

Given a tagstr like `<#java.util.Date 1999-12-31T01:02:03.456Z>`,
returns the data str `1999-12-31T01:02:03.456Z` 
sourceraw docstring

extract-tag-strclj

(extract-tag-str s)

Inputs: [s :- s/Str] Returns: s/Str

Given a tagstr like <#java.util.Date 1999-12-31T01:02:03.456Z>, returns the tag str #java.util.Date>

Inputs: [s :- s/Str]
Returns: s/Str

Given a tagstr like `<#java.util.Date 1999-12-31T01:02:03.456Z>`,
returns the tag str `#java.util.Date>` 
sourceraw docstring

Instant-encodeclj

(Instant-encode inst)

Inputs: [inst :- Instant] Returns: s/Str

Encodes an Instant object into a tagstr like <#inst 1999-12-31T01:02:03.456Z>

Inputs: [inst :- Instant]
Returns: s/Str

Encodes an Instant object into a tagstr like `<#inst 1999-12-31T01:02:03.456Z>`
sourceraw docstring

Instant-parseclj

(Instant-parse s)

Inputs: [s :- s/Str] Returns: Instant

Decodes a tagstr like <#inst 1999-12-31T01:02:03.456Z> into an Instant object

Inputs: [s :- s/Str]
Returns: Instant

Decodes a tagstr like `<#inst 1999-12-31T01:02:03.456Z>` into an Instant object
sourceraw docstring

sql-Date-encodeclj

(sql-Date-encode date)

Inputs: [date :- java.sql.Date] Returns: s/Str

Encodes a java.sql.Date object into a tagstr like <#java.sql.Date 1999-11-22>

Inputs: [date :- java.sql.Date]
Returns: s/Str

Encodes a java.sql.Date object into a tagstr like `<#java.sql.Date 1999-11-22>`
sourceraw docstring

sql-Date-parseclj

(sql-Date-parse s)

Inputs: [s :- s/Str] Returns: java.sql.Date

Decodes a tagstr like <#java.sql.Date 1999-11-22> into a java.sql.Date object

Inputs: [s :- s/Str]
Returns: java.sql.Date

Decodes a tagstr like `<#java.sql.Date 1999-11-22>` into a java.sql.Date object
sourceraw docstring

sql-Timestamp-encodeclj

(sql-Timestamp-encode ts)

Inputs: [ts :- Timestamp] Returns: s/Str

Encodes a java.sql.Timestamp object into a tagstr like <#java.sql.Timestamp 1999-12-31 01:02:03.456>

Inputs: [ts :- Timestamp]
Returns: s/Str

Encodes a java.sql.Timestamp object into a tagstr like `<#java.sql.Timestamp 1999-12-31 01:02:03.456>`
sourceraw docstring

sql-Timestamp-parseclj

(sql-Timestamp-parse s)

Inputs: [s :- s/Str] Returns: Timestamp

Decodes a tagstr like <#java.sql.Timestamp 1999-12-31 01:02:03.456> into a java.sql.Timestamp object

Inputs: [s :- s/Str]
Returns: Timestamp

Decodes a tagstr like `<#java.sql.Timestamp 1999-12-31 01:02:03.456>` into a java.sql.Timestamp object
sourceraw docstring

tag->parse-fnclj

A map from tag to object parse fn

A map from tag to object parse fn
sourceraw docstring

tagstr?clj

(tagstr? item)

Inputs: [item :- s/Any] Returns: s/Bool

Returns true iff arg is a Tagged String

Inputs: [item :- s/Any]
Returns: s/Bool

Returns true iff arg is a Tagged String
sourceraw docstring

type->encode-fnclj

A map from object type to tagstr encode fn

A map from object type to tagstr encode fn
sourceraw docstring

UUID-encodeclj

(UUID-encode uuid)

Inputs: [uuid :- UUID] Returns: s/Str

Encodes a UUID object into a tagstr like <#uuid 605ca9b3-219b-44b3-9c91-238dba64a3f8>

Inputs: [uuid :- UUID]
Returns: s/Str

Encodes a UUID object into a tagstr like `<#uuid 605ca9b3-219b-44b3-9c91-238dba64a3f8>`
sourceraw docstring

UUID-parseclj

(UUID-parse s)

Inputs: [s :- s/Str] Returns: UUID

Decodes a tagstr like <#uuid 605ca9b3-219b-44b3-9c91-238dba64a3f8> into a UUID object

Inputs: [s :- s/Str]
Returns: UUID

Decodes a tagstr like `<#uuid 605ca9b3-219b-44b3-9c91-238dba64a3f8>` into a UUID object
sourceraw docstring

walk-encodeclj

(walk-encode data)
(walk-encode encode-map data)

Inputs: ([data :- s/Any] [encode-map :- tsk/Map data :- s/Any]) Returns: s/Any

Walk a data structure and convert objects to tagged strings like:

{:date          "<#java.util.Date 1999-12-31T01:02:03.456Z>"
 :five          5
 :hello         "Hello!"
 :instant       "<#inst 1999-12-31T01:02:03.456Z>"
 :millis        946602123456
 :nil           nil
 :sql-date      "<#java.sql.Date 1999-11-22>"
 :sql-timestamp "<#java.sql.Timestamp 1999-12-31 01:02:03.456>"
 :uuid          "<#uuid 605ca9b3-219b-44b3-9c91-238dba64a3f8>"
 :zdt           "<#ZonedDateTime 1999-11-22T11:33:44.555-08:00>"}
Inputs: ([data :- s/Any] [encode-map :- tsk/Map data :- s/Any])
Returns: s/Any

Walk a data structure and convert objects to tagged strings like:

    {:date          "<#java.util.Date 1999-12-31T01:02:03.456Z>"
     :five          5
     :hello         "Hello!"
     :instant       "<#inst 1999-12-31T01:02:03.456Z>"
     :millis        946602123456
     :nil           nil
     :sql-date      "<#java.sql.Date 1999-11-22>"
     :sql-timestamp "<#java.sql.Timestamp 1999-12-31 01:02:03.456>"
     :uuid          "<#uuid 605ca9b3-219b-44b3-9c91-238dba64a3f8>"
     :zdt           "<#ZonedDateTime 1999-11-22T11:33:44.555-08:00>"}
sourceraw docstring

walk-parseclj

(walk-parse data)
(walk-parse parse-map data)

Inputs: ([data :- s/Any] [parse-map :- tsk/Map data :- s/Any]) Returns: s/Any

Walk a data structure like the following and parse tagged strings into objects:

{:date          "<#java.util.Date 1999-12-31T01:02:03.456Z>"
 :five          5
 :hello         "Hello!"
 :instant       "<#inst 1999-12-31T01:02:03.456Z>"
 :millis        946602123456
 :nil           nil
 :sql-date      "<#java.sql.Date 1999-11-22>"
 :sql-timestamp "<#java.sql.Timestamp 1999-12-31 01:02:03.456>"
 :uuid          "<#uuid 605ca9b3-219b-44b3-9c91-238dba64a3f8>"
 :zdt           "<#ZonedDateTime 1999-11-22T11:33:44.555-08:00>"}
Inputs: ([data :- s/Any] [parse-map :- tsk/Map data :- s/Any])
Returns: s/Any

Walk a data structure like the following and parse tagged strings into objects:

    {:date          "<#java.util.Date 1999-12-31T01:02:03.456Z>"
     :five          5
     :hello         "Hello!"
     :instant       "<#inst 1999-12-31T01:02:03.456Z>"
     :millis        946602123456
     :nil           nil
     :sql-date      "<#java.sql.Date 1999-11-22>"
     :sql-timestamp "<#java.sql.Timestamp 1999-12-31 01:02:03.456>"
     :uuid          "<#uuid 605ca9b3-219b-44b3-9c91-238dba64a3f8>"
     :zdt           "<#ZonedDateTime 1999-11-22T11:33:44.555-08:00>"}
sourceraw docstring

ZonedDateTime-encodeclj

(ZonedDateTime-encode inst)

Inputs: [inst :- ZonedDateTime] Returns: s/Str

Encodes a ZonedDateTime object into a tagstr like <#ZonedDateTime 1999-11-22T11:33:44.555-08:00>

Inputs: [inst :- ZonedDateTime]
Returns: s/Str

Encodes a ZonedDateTime object into a tagstr like `<#ZonedDateTime 1999-11-22T11:33:44.555-08:00>`
sourceraw docstring

ZonedDateTime-parseclj

(ZonedDateTime-parse s)

Inputs: [s :- s/Str] Returns: ZonedDateTime

Decodes a tagstr like <#ZonedDateTime 1999-11-22T11:33:44.555-08:00> into a ZonedDateTime object

Inputs: [s :- s/Str]
Returns: ZonedDateTime

Decodes a tagstr like `<#ZonedDateTime 1999-11-22T11:33:44.555-08:00>` into a ZonedDateTime object
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close