Home
last modified time | relevance | path

Searched refs:dateFormat (Results 1 – 25 of 2134) sorted by relevance

12345678910>>...86

/dports/devel/log4j/apache-log4j-1.2.17/src/main/java/org/apache/log4j/helpers/
H A DDateLayout.java70 protected DateFormat dateFormat; field in DateLayout
102 void setDateFormat(String dateFormat) { in setDateFormat() argument
103 if (dateFormat != null) { in setDateFormat()
104 dateFormatOption = dateFormat; in setDateFormat()
144 if(dateFormat != null) { in dateFormat()
146 dateFormat.format(date, buf, this.pos); in dateFormat()
157 this.dateFormat = dateFormat; in setDateFormat()
158 this.dateFormat.setTimeZone(timeZone); in setDateFormat()
178 this.dateFormat = null; in setDateFormat()
183 this.dateFormat = null; in setDateFormat()
[all …]
/dports/multimedia/kaffeine/kaffeine-2.0.18/src/
H A Ddatetimeedit.cpp27 QString dateFormat = QLocale().dateFormat(QLocale::ShortFormat); in localQtDateFormat() local
30 if (dateFormat.at(i) != QLatin1Char('%')) { in localQtDateFormat()
34 switch (dateFormat.at(i + 1).unicode()) { in localQtDateFormat()
36 dateFormat.replace(i, 2, QLatin1String("yyyy")); in localQtDateFormat()
39 dateFormat.replace(i, 2, QLatin1String("yy")); in localQtDateFormat()
42 dateFormat.replace(i, 2, QLatin1Char('M')); in localQtDateFormat()
45 dateFormat.replace(i, 2, QLatin1String("MM")); in localQtDateFormat()
48 dateFormat.replace(i, 2, QLatin1Char('d')); in localQtDateFormat()
51 dateFormat.replace(i, 2, QLatin1String("dd")); in localQtDateFormat()
54 dateFormat.replace(i, 2, QLatin1String("MMM")); in localQtDateFormat()
[all …]
/dports/devel/log4cxx/apache-log4cxx-0.11.0/src/main/cpp/
H A Ddatelayout.cpp64 dateFormat = 0; in activateOptions()
69 dateFormat = 0; in activateOptions()
75 dateFormat = new RelativeTimeDateFormat(); in activateOptions()
81 dateFormat = new AbsoluteTimeDateFormat(); in activateOptions()
87 dateFormat = new DateTimeDateFormat(); in activateOptions()
93 dateFormat = new ISO8601DateFormat(); in activateOptions()
98 dateFormat = new SimpleDateFormat(dateFormatOption); in activateOptions()
102 if (dateFormat != NULL) in activateOptions()
106 dateFormat->setTimeZone(TimeZone::getDefault()); in activateOptions()
121 if (dateFormat != 0) in formatDate()
[all …]
/dports/deskutils/chart/chart-3.0.0/
H A Doptions.go31 dateFormat string member
61 fs.StringVar(&o.dateFormat, "date-format", o.dateFormat, dateFormatHelp) //TODO document
93 o.dateFormat = "Mon Jan _2 15:04:05 2006"
95 o.dateFormat = "Mon Jan _2 15:04:05 MST 2006"
99 o.dateFormat = "02 Jan 06 15:04 MST"
109 o.dateFormat = "2006-01-02T15:04:05Z07:00"
113 o.dateFormat = "3:04PM"
115 o.dateFormat = "Jan _2 15:04:05"
117 o.dateFormat = "Jan _2 15:04:05.000"
119 o.dateFormat = "Jan _2 15:04:05.000000"
[all …]
/dports/www/orangehrm/orangehrm-4.9/symfony/lib/vendor/symfony/lib/widget/i18n/
H A DsfWidgetFormI18nDate.class.php68 $dateFormat = sfDateTimeFormatInfo::getInstance($culture)->getShortDatePattern();
70 …$dayPos = stripos($dateFormat, 'd')) || false === ($monthPos = stripos($dateFormat, 'm')) || false…
75 return strtr($dateFormat, array(
76 substr($dateFormat, $dayPos, strripos($dateFormat, 'd') - $dayPos + 1) => '%day%',
77 substr($dateFormat, $monthPos, strripos($dateFormat, 'm') - $monthPos + 1) => '%month%',
78 substr($dateFormat, $yearPos, strripos($dateFormat, 'y') - $yearPos + 1) => '%year%',
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/devtools-frontend/src/node_modules/dateformat/
H A DReadme.md24 var dateFormat = require('dateformat');
32 dateFormat(now, "isoDateTime");
37 dateFormat(now, "hammerTime");
42 dateFormat("Jun 9 2007", "fullDate");
46 // dateFormat.masks.default is used
47 dateFormat(now);
52 dateFormat();
57 dateFormat("longTime");
62 dateFormat(now, "longTime", true);
70 dateFormat(now, "W");
[all …]
/dports/www/typo3-11/typo3_src-11.5.7/typo3/sysext/extbase/Classes/Property/TypeConverter/
H A DDateTimeConverter.php129 $dateFormat = $this->getDefaultDateFormat($configuration);
148 $dateFormat = $source['dateFormat'];
156 $dateFormat = 'U';
164 $date = $targetType::createFromFormat($dateFormat, $dateAsString, $timezone);
166 $date = $targetType::createFromFormat($dateFormat, $dateAsString);
169 …r('The date "%s" was not recognized (for format "%s").', 1307719788, [$dateAsString, $dateFormat]);
204 …$dateFormat = $configuration->getConfigurationValue(DateTimeConverter::class, self::CONFIGURATION_…
205 if ($dateFormat === null) {
208 if ($dateFormat !== null && !is_string($dateFormat)) {
209 …ORMAT must be of type string, "' . (is_object($dateFormat) ? get_class($dateFormat) : gettype($dat…
[all …]
/dports/www/typo3-9/typo3_src-9.5.31/typo3/sysext/extbase/Classes/Property/TypeConverter/
H A DDateTimeConverter.php120 $dateFormat = $this->getDefaultDateFormat($configuration);
139 $dateFormat = $source['dateFormat'];
146 $dateFormat = 'U';
154 $date = $targetType::createFromFormat($dateFormat, $dateAsString, $timezone);
156 $date = $targetType::createFromFormat($dateFormat, $dateAsString);
159 …r('The date "%s" was not recognized (for format "%s").', 1307719788, [$dateAsString, $dateFormat]);
193 …$dateFormat = $configuration->getConfigurationValue(DateTimeConverter::class, self::CONFIGURATION_…
194 if ($dateFormat === null) {
197 if ($dateFormat !== null && !is_string($dateFormat)) {
198 …ORMAT must be of type string, "' . (is_object($dateFormat) ? get_class($dateFormat) : gettype($dat…
[all …]
/dports/www/typo3-10/typo3_src-10.4.25/typo3/sysext/extbase/Classes/Property/TypeConverter/
H A DDateTimeConverter.php129 $dateFormat = $this->getDefaultDateFormat($configuration);
148 $dateFormat = $source['dateFormat'];
156 $dateFormat = 'U';
164 $date = $targetType::createFromFormat($dateFormat, $dateAsString, $timezone);
166 $date = $targetType::createFromFormat($dateFormat, $dateAsString);
169 …r('The date "%s" was not recognized (for format "%s").', 1307719788, [$dateAsString, $dateFormat]);
204 …$dateFormat = $configuration->getConfigurationValue(DateTimeConverter::class, self::CONFIGURATION_…
205 if ($dateFormat === null) {
208 if ($dateFormat !== null && !is_string($dateFormat)) {
209 …ORMAT must be of type string, "' . (is_object($dateFormat) ? get_class($dateFormat) : gettype($dat…
[all …]
/dports/www/orangehrm/orangehrm-4.9/symfony/lib/vendor/log4php/layouts/
H A DLoggerLayoutTTCC.php76 protected $dateFormat = '%c'; variable in LoggerLayoutTTCC
82 * @see dateFormat
84 public function __construct($dateFormat = '') { argument
85 if (!empty($dateFormat)) {
86 $this->dateFormat = $dateFormat;
158 public function setDateFormat($dateFormat) { argument
159 $this->dateFormat = $dateFormat;
166 return $this->dateFormat;
179 $format = strftime($this->dateFormat, (int)$timeStamp);
/dports/www/ilias/ILIAS-5.4.25/Services/Certificate/classes/Helper/
H A DilCertificateDateHelper.php11 * @param int $dateFormat
14 public function formatDate(string $date, $dateFormat = null) : string argument
16 if (null === $dateFormat) {
17 $dateFormat = IL_CAL_DATETIME;
23 $date = ilDatePresentation::formatDate(new ilDate($date, $dateFormat));
36 public function formatDateTime(string $dateTime, $dateFormat = null) : string argument
38 if (null === $dateFormat) {
39 $dateFormat = IL_CAL_DATETIME;
45 $date = ilDatePresentation::formatDate(new ilDateTime($dateTime, $dateFormat));
/dports/www/ilias6/ILIAS-6.14/Services/Certificate/classes/Helper/
H A DilCertificateDateHelper.php11 * @param int $dateFormat
14 public function formatDate(string $date, $dateFormat = null) : string argument
16 if (null === $dateFormat) {
17 $dateFormat = IL_CAL_DATETIME;
23 $date = ilDatePresentation::formatDate(new ilDate($date, $dateFormat));
36 public function formatDateTime(string $dateTime, $dateFormat = null) : string argument
38 if (null === $dateFormat) {
39 $dateFormat = IL_CAL_DATETIME;
45 $date = ilDatePresentation::formatDate(new ilDateTime($dateTime, $dateFormat));
/dports/www/bolt/bolt-2.2.24/vendor/symfony/form/Symfony/Component/Form/Extension/Core/DataTransformer/
H A DDateTimeToLocalizedStringTransformer.php25 private $dateFormat; variable in Symfony\\Component\\Form\\Extension\\Core\\DataTransformer\\DateTimeToLocalizedStringTransformer
37 * @param int $dateFormat The date format
44 …public function __construct($inputTimezone = null, $outputTimezone = null, $dateFormat = null, $ti… argument
48 if (null === $dateFormat) {
49 $dateFormat = \IntlDateFormatter::MEDIUM;
56 if (!in_array($dateFormat, self::$formats, true)) {
57 throw new UnexpectedTypeException($dateFormat, implode('", "', self::$formats));
64 $this->dateFormat = $dateFormat;
154 $dateFormat = $this->dateFormat;
160 …$intlDateFormatter = new \IntlDateFormatter(\Locale::getDefault(), $dateFormat, $timeFormat, $time…
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.beans/src/main/java/org/springframework/beans/propertyeditors/
H A DCustomDateEditor.java48 private final DateFormat dateFormat; field in CustomDateEditor
64 public CustomDateEditor(DateFormat dateFormat, boolean allowEmpty) { in CustomDateEditor() argument
65 this.dateFormat = dateFormat; in CustomDateEditor()
88 public CustomDateEditor(DateFormat dateFormat, boolean allowEmpty, int exactDateLength) { in CustomDateEditor() argument
89 this.dateFormat = dateFormat; in CustomDateEditor()
110 setValue(this.dateFormat.parse(text)); in setAsText()
124 return (value != null ? this.dateFormat.format(value) : ""); in getAsText()
/dports/www/ilias/ILIAS-5.4.25/libs/composer/vendor/monolog/monolog/tests/Monolog/Handler/
H A DRotatingFileHandlerTest.php79 public function testRotation($createFile, $dateFormat, $timeCallback) argument
81 touch($old1 = __DIR__.'/Fixtures/foo-'.date($dateFormat, $timeCallback(-1)).'.rot');
86 $log = __DIR__.'/Fixtures/foo-'.date($dateFormat).'.rot';
94 $handler->setFilenameFormat('{filename}-{date}', $dateFormat);
141 public function testAllowOnlyFixedDefinedDateFormats($dateFormat, $valid) argument
144 $handler->setFilenameFormat('{filename}-{date}', $dateFormat);
197 public function testRotationWhenSimilarFileNamesExist($dateFormat) argument
199 touch($old1 = __DIR__.'/Fixtures/foo-foo-'.date($dateFormat).'.rot');
200 touch($old2 = __DIR__.'/Fixtures/foo-bar-'.date($dateFormat).'.rot');
202 $log = __DIR__.'/Fixtures/foo-'.date($dateFormat).'.rot';
[all …]
/dports/www/orangehrm/orangehrm-4.9/symfony/lib/vendor/monolog/monolog/tests/Monolog/Handler/
H A DRotatingFileHandlerTest.php79 public function testRotation($createFile, $dateFormat, $timeCallback) argument
81 touch($old1 = __DIR__.'/Fixtures/foo-'.date($dateFormat, $timeCallback(-1)).'.rot');
86 $log = __DIR__.'/Fixtures/foo-'.date($dateFormat).'.rot';
94 $handler->setFilenameFormat('{filename}-{date}', $dateFormat);
141 public function testAllowOnlyFixedDefinedDateFormats($dateFormat, $valid) argument
144 $handler->setFilenameFormat('{filename}-{date}', $dateFormat);
197 public function testRotationWhenSimilarFileNamesExist($dateFormat) argument
199 touch($old1 = __DIR__.'/Fixtures/foo-foo-'.date($dateFormat).'.rot');
200 touch($old2 = __DIR__.'/Fixtures/foo-bar-'.date($dateFormat).'.rot');
202 $log = __DIR__.'/Fixtures/foo-'.date($dateFormat).'.rot';
[all …]
/dports/mail/phplist/phplist-3.6.6/public_html/lists/base/vendor/symfony/symfony/src/Symfony/Component/Form/Extension/Core/DataTransformer/
H A DDateTimeToLocalizedStringTransformer.php25 private $dateFormat; variable in Symfony\\Component\\Form\\Extension\\Core\\DataTransformer\\DateTimeToLocalizedStringTransformer
35 * @param int $dateFormat The date format
42 …public function __construct($inputTimezone = null, $outputTimezone = null, $dateFormat = null, $ti… argument
46 if (null === $dateFormat) {
47 $dateFormat = \IntlDateFormatter::MEDIUM;
54 if (!\in_array($dateFormat, self::$formats, true)) {
55 throw new UnexpectedTypeException($dateFormat, implode('", "', self::$formats));
62 $this->dateFormat = $dateFormat;
168 $dateFormat = $this->dateFormat;
175 …$intlDateFormatter = new \IntlDateFormatter(\Locale::getDefault(), $dateFormat, $timeFormat, $time…
/dports/finance/prestashop/prestashop/vendor/symfony/symfony/src/Symfony/Component/Form/Extension/Core/DataTransformer/
H A DDateTimeToLocalizedStringTransformer.php25 private $dateFormat; variable in Symfony\\Component\\Form\\Extension\\Core\\DataTransformer\\DateTimeToLocalizedStringTransformer
35 * @param int $dateFormat The date format
42 …public function __construct($inputTimezone = null, $outputTimezone = null, $dateFormat = null, $ti… argument
46 if (null === $dateFormat) {
47 $dateFormat = \IntlDateFormatter::MEDIUM;
54 if (!\in_array($dateFormat, self::$formats, true)) {
55 throw new UnexpectedTypeException($dateFormat, implode('", "', self::$formats));
62 $this->dateFormat = $dateFormat;
168 $dateFormat = $this->dateFormat;
175 …$intlDateFormatter = new \IntlDateFormatter(\Locale::getDefault(), $dateFormat, $timeFormat, $time…
/dports/net-mgmt/librenms/librenms-vendor-21.5.1/monolog/monolog/src/Monolog/Formatter/
H A DNormalizerFormatter.php28 protected $dateFormat; variable in Monolog\\Formatter\\NormalizerFormatter
38 * @param string|null $dateFormat The format of the timestamp: one supported by DateTime::format
40 public function __construct(?string $dateFormat = null) argument
42 $this->dateFormat = null === $dateFormat ? static::SIMPLE_DATE : $dateFormat;
70 return $this->dateFormat;
73 public function setDateFormat(string $dateFormat): self argument
75 $this->dateFormat = $dateFormat;
255 if ($this->dateFormat === self::SIMPLE_DATE && $date instanceof DateTimeImmutable) {
259 return $date->format($this->dateFormat);
/dports/java/jfreechart/jfreechart-1.0.17/source/org/jfree/chart/labels/
H A DAbstractCategoryItemLabelGenerator.java92 private DateFormat dateFormat; field in AbstractCategoryItemLabelGenerator
131 this.dateFormat = null; in AbstractCategoryItemLabelGenerator()
149 this.dateFormat = formatter; in AbstractCategoryItemLabelGenerator()
201 return this.dateFormat; in getDateFormat()
243 else if (this.dateFormat != null) { in createItemArray()
244 result[2] = this.dateFormat.format(value); in createItemArray()
280 if (!ObjectUtilities.equal(this.dateFormat, that.dateFormat)) { in equals()
299 result = HashUtilities.hashCode(result, this.dateFormat); in hashCode()
319 if (this.dateFormat != null) { in clone()
320 clone.dateFormat = (DateFormat) this.dateFormat.clone(); in clone()
/dports/www/mediawiki137/mediawiki-1.37.1/vendor/monolog/monolog/src/Monolog/Formatter/
H A DNormalizerFormatter.php28 protected $dateFormat; variable in Monolog\\Formatter\\NormalizerFormatter
38 * @param string|null $dateFormat The format of the timestamp: one supported by DateTime::format
40 public function __construct(?string $dateFormat = null) argument
42 $this->dateFormat = null === $dateFormat ? static::SIMPLE_DATE : $dateFormat;
70 return $this->dateFormat;
73 public function setDateFormat(string $dateFormat): self argument
75 $this->dateFormat = $dateFormat;
255 if ($this->dateFormat === self::SIMPLE_DATE && $date instanceof DateTimeImmutable) {
259 return $date->format($this->dateFormat);
/dports/www/mediawiki136/mediawiki-1.36.3/vendor/monolog/monolog/src/Monolog/Formatter/
H A DNormalizerFormatter.php28 protected $dateFormat; variable in Monolog\\Formatter\\NormalizerFormatter
38 * @param string|null $dateFormat The format of the timestamp: one supported by DateTime::format
40 public function __construct(?string $dateFormat = null) argument
42 $this->dateFormat = null === $dateFormat ? static::SIMPLE_DATE : $dateFormat;
70 return $this->dateFormat;
73 public function setDateFormat(string $dateFormat): self argument
75 $this->dateFormat = $dateFormat;
255 if ($this->dateFormat === self::SIMPLE_DATE && $date instanceof DateTimeImmutable) {
259 return $date->format($this->dateFormat);
/dports/www/owncloud/owncloud/apps/files_external/3rdparty/monolog/monolog/src/Monolog/Formatter/
H A DNormalizerFormatter.php28 protected $dateFormat; variable in Monolog\\Formatter\\NormalizerFormatter
38 * @param string|null $dateFormat The format of the timestamp: one supported by DateTime::format
40 public function __construct(?string $dateFormat = null) argument
42 $this->dateFormat = null === $dateFormat ? static::SIMPLE_DATE : $dateFormat;
70 return $this->dateFormat;
73 public function setDateFormat(string $dateFormat): self argument
75 $this->dateFormat = $dateFormat;
255 if ($this->dateFormat === self::SIMPLE_DATE && $date instanceof DateTimeImmutable) {
259 return $date->format($this->dateFormat);
/dports/java/jfreechart/jfreechart-1.0.17/source/org/jfree/chart/urls/
H A DTimeSeriesURLGenerator.java70 private DateFormat dateFormat = DateFormat.getInstance(); field in TimeSeriesURLGenerator
99 public TimeSeriesURLGenerator(DateFormat dateFormat, String prefix, in TimeSeriesURLGenerator() argument
102 ParamChecks.nullNotPermitted(dateFormat, "dateFormat"); in TimeSeriesURLGenerator()
106 this.dateFormat = (DateFormat) dateFormat.clone(); in TimeSeriesURLGenerator()
120 return (DateFormat) this.dateFormat.clone(); in getDateFormat()
178 String xValue = this.dateFormat.format(new Date(x)); in generateURL()
202 if (!this.dateFormat.equals(that.dateFormat)) { in equals()
/dports/science/gtamsanalyzer/GTAMSAnalyzer.src.0.42/Source/
H A DMWSortStackItem.m98 calendarFormat: [thisOne objectForKey: @"dateFormat"] ] compare:
161 dateFormat = [[NSMutableString alloc] init];
172 dateFormat = [[NSMutableString alloc] initWithString: df];
180 //dateFormat = [[NSMutableString alloc] initWithString: df];
194 //[coder encodeObject: [[dateFormat copy] autorelease] ];
198 [md setObject: [[dateFormat copy] autorelease] forKey: @"dateFormat"];
210 dateFormat = [[NSMutableString alloc] initWithString: [md objectForKey: @"dateFormat"]];
238 -(NSString *) dateFormat {return dateFormat;} method
240 -(void) dealloc {[dateFormat dealloc]; [super dealloc];}
248 -(NSString *) dateFormat {return [slf objectForKey: @"dateFormat"];} method
[all …]

12345678910>>...86