Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Corniel
committed
Aug 8, 2018
1 parent
d030ac8
commit 4664b88
Showing
3 changed files
with
64 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project> | ||
<PropertyGroup> | ||
<VersionPrefix>3.1.3</VersionPrefix> | ||
<VersionPrefix>3.2.0</VersionPrefix> | ||
<VersionSuffix Condition="'$(VersionSuffix)'!='' AND '$(BuildNumber)' != ''"></VersionSuffix> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
declare module Qowaiv { | ||
class Guid implements IEquatable, IFormattable, IJsonStringifyable { | ||
constructor(); | ||
private v; | ||
toString(): string; | ||
format(f?: string): string; | ||
toJSON(): string; | ||
version(): number; | ||
equals(other: any): boolean; | ||
static fromJSON(s: string): Guid; | ||
static isValid(s: string): boolean; | ||
static parse(s: string): Guid; | ||
static empty(): Guid; | ||
static newGuid(seed?: Guid): Guid; | ||
private static rndGuid(s); | ||
} | ||
} | ||
interface IEquatable { | ||
equals(other: any): boolean; | ||
} | ||
interface IFormattable { | ||
toString(): string; | ||
format(f: string): string; | ||
} | ||
interface IJsonStringifyable { | ||
toJSON(): string; | ||
} | ||
declare module Qowaiv { | ||
class TimeSpan implements IEquatable, IFormattable, IJsonStringifyable { | ||
private static pattern; | ||
private v; | ||
constructor(d?: number, h?: number, m?: number, s?: number, f?: number); | ||
private num(n); | ||
getDays(): number; | ||
getHours(): number; | ||
getMinutes(): number; | ||
getSeconds(): number; | ||
getMilliseconds(): number; | ||
getTotalDays(): number; | ||
getTotalHours(): number; | ||
getTotalMinutes(): number; | ||
getTotalSeconds(): number; | ||
getTotalMilliseconds(): number; | ||
multiply(factor: number): TimeSpan; | ||
divide(factor: number): TimeSpan; | ||
toString(): string; | ||
format(format?: string): string; | ||
toJSON(): string; | ||
static fromJSON(s: string): TimeSpan; | ||
equals(other: any): boolean; | ||
static isValid(s: string): boolean; | ||
static parse(str: string): TimeSpan; | ||
static fromSeconds(seconds: number): TimeSpan; | ||
} | ||
} |